Skip to content
Kolorvia
#281b22

Color #281b22

A muted very dark magenta.

Conversions

HEX
#281b22
RGB
rgb(40, 27, 34)
HSL
hsl(327.7, 19.4%, 13.1%)
HSV / HSB
hsv(327.7, 32.5%, 15.7%)
CMYK
cmyk(0%, 32.5%, 15%, 84.3%)
LAB
lab(11.62, 7.88, -2.28)
LCH
lch(11.62, 8.2, 343.86)
OKLCH
oklch(24.1%, 0.0239, 345.44)
HWB
hwb(327.7, 10.6%, 84.3%)

Harmony colors

Complementary

#1b2821

Analogous

#271b28
#281b22
#281b1b

Triadic

#281b22
#22281b
#1b2228

Split-complementary

#281b22
#1b281b
#1b2827

Tetradic

#281b22
#28211b
#1b2821
#1b2228

Square

#281b22
#28271b
#1b2821
#1b1b28

Shades

Color #281b22 mixed toward black.

#21161c
#1b1217
#140d11
#0d090b
#070406

Tints

Color #281b22 mixed toward white.

#543947
#80566d
#a67b92
#c3a7b6
#e1d3db

Tones

Color #281b22 mixed toward gray.

#271c22
#261d22
#251e22
#241f22
#222021

Accessibility

Aa White text on this color
16.53:1
Aa Black text on this color
1.27:1

White text reads better on this background (16.53:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#232320 · ΔE 11.6

Deuteranopia

#242520 · ΔE 13.6

Tritanopia

#271f1f · ΔE 5.4

Achromatopsia

#1f1f1f · ΔE 9.5

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #281b22;
Tailwind (arbitrary value)
bg-[#281b22]

Related colors

Deep Pink #ff1493
Hot Pink #ff69b4
Medium Violet Red #c71585
Lavender Blush #fff0f5
Pale Violet Red #db7093
Crimson #dc143c

Frequently asked questions

#281b22 (#281b22) is rgb(40, 27, 34) in RGB.

No, #281b22 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #281b22, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.