#2B031F#2B031F
#2B031F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.077 H 342.5°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2B031F |
|---|---|
| RGB | rgb(43, 3, 31) |
| HSL | hsl(318, 87%, 9%) |
| HSV | hsv(318, 93%, 17%) |
| CMYK | cmyk(0%, 93%, 27.9%, 83.1%) |
| CIE-LAB | lab(6.12, 23.48, -8.26) |
| CIE-LCH | lch(6.12, 24.89, 340.63°) |
| OKLab | oklab(19.94% 0.073 -0.023) |
| OKLCH | oklch(19.94% 0.077 342.5) |
| XYZ | xyz(1.2762, 0.6778, 1.3597) |
| Luminance | 0.0068 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 5.13
Aubergine
#3D0734
ΔE00 5.70
Eggplant
#380835
ΔE00 5.88
Very Dark Purple
#2A0134
ΔE00 7.99
Dark Purple
#35063E
ΔE00 8.82
Eggplant Purple
#430541
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B031F #032B0F
analogous
#23032B #2B031F #2B030B
triadic
#2B031F #1F2B03 #031F2B
tetradic
#2B031F #2B2303 #032B0F #030B2B
square
#2B031F #2B2303 #032B0F #030B2B
split-complementary
#2B031F #0B2B03 #032B23
monochromatic
#1D0215 #1D0215 #2B031F #640748 #9D0B71
Accessibility & contrast
On white
18.49
#2B031F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#2B031F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B031F
18.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B031F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B031F | 1.00 | 18.49 | 1.14 | 18.49 |
| #FFFFFF | 18.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#060F20
Deuteranopia (green-blind)
#13161E
Tritanopia (blue-blind)
#2E030F
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #2b031f; /* rgb */ color: rgb(43, 3, 31); /* oklch */ color: oklch(19.9% 0.077 342.5);
Tailwind
colors: {
custom: {
50: '#66475a',
500: '#2b031f',
950: '#000000',
},
}SCSS
$custom: #2b031f; $custom-light: #66475a; $custom-dark: #000000;
JSON
{
"hex": "#2b031f",
"rgb": {
"r": 43,
"g": 3,
"b": 31
},
"hsl": {
"h": 318,
"s": 86.957,
"l": 9.02
},
"oklch": {
"l": 0.19943,
"c": 0.07653,
"h": 342.5
},
"luminance": 0.00678
}Semantic roles & 50–950 ramp
primary
#2B031F
secondary
#1B6F34
accent
#FD6A2B
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778