#2A1E28#2A1E28
#2A1E28 is a dark, muted pink. Relative luminance 0.016; OKLCH L 25.4% C 0.026 H 332.1°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1E28 |
|---|---|
| RGB | rgb(42, 30, 40) |
| HSL | hsl(310, 17%, 14%) |
| HSV | hsv(310, 29%, 16%) |
| CMYK | cmyk(0%, 28.6%, 4.8%, 83.5%) |
| CIE-LAB | lab(13.07, 8.02, -4.48) |
| CIE-LCH | lch(13.07, 9.19, 330.80°) |
| OKLab | oklab(25.37% 0.0226 -0.012) |
| OKLCH | oklch(25.37% 0.026 332.1) |
| XYZ | xyz(1.8021, 1.5740, 2.2160) |
| Luminance | 0.0157 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 9.48
Dark
#1B2431
ΔE00 11.55
Dark Grey
#363737
ΔE00 12.56
Black
#000000
ΔE00 12.73
Onyx
#353839
ΔE00 13.49
Navy Blue
#1B2A4A
ΔE00 13.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1E28 #1E2A20
analogous
#261E2A #2A1E28 #2A1E22
triadic
#2A1E28 #282A1E #1E282A
tetradic
#2A1E28 #2A261E #1E2A20 #1E222A
square
#2A1E28 #2A261E #1E2A20 #1E222A
split-complementary
#2A1E28 #222A1E #1E2A26
monochromatic
#120D11 #120D11 #2A1E28 #4E384A #71516C
Accessibility & contrast
On white
15.97
#2A1E28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#2A1E28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1E28
15.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1E28 | 1.00 | 15.97 | 1.31 | 15.97 |
| #FFFFFF | 15.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2128
Deuteranopia (green-blind)
#212228
Tritanopia (blue-blind)
#2B1F21
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #2a1e28; /* rgb */ color: rgb(42, 30, 40); /* oklch */ color: oklch(25.4% 0.026 332.1);
Tailwind
colors: {
custom: {
50: '#635961',
500: '#2a1e28',
950: '#000000',
},
}SCSS
$custom: #2a1e28; $custom-light: #635961; $custom-dark: #000000;
JSON
{
"hex": "#2a1e28",
"rgb": {
"r": 42,
"g": 30,
"b": 40
},
"hsl": {
"h": 310,
"s": 16.667,
"l": 14.118
},
"oklch": {
"l": 0.25373,
"c": 0.0256,
"h": 332.1
},
"luminance": 0.01574
}Semantic roles & 50–950 ramp
primary
#2A1E28
secondary
#485B4C
accent
#B97B6E
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050305
muted
#797879