#271F23#271F23
#271F23 is a dark, near-neutral pink. Relative luminance 0.015; OKLCH L 25.0% C 0.014 H 346.6°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).
Color values
| HEX | #271F23 |
|---|---|
| RGB | rgb(39, 31, 35) |
| HSL | hsl(330, 11%, 14%) |
| HSV | hsv(330, 21%, 15%) |
| CMYK | cmyk(0%, 20.5%, 10.3%, 84.7%) |
| CIE-LAB | lab(12.81, 4.74, -1.27) |
| CIE-LCH | lch(12.81, 4.91, 345.04°) |
| OKLab | oklab(25.02% 0.0138 -0.0033) |
| OKLCH | oklch(25.02% 0.014 346.6) |
| XYZ | xyz(1.6300, 1.5327, 1.7998) |
| Luminance | 0.0153 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 9.08
Dark Grey
#363737
ΔE00 9.76
Black
#000000
ΔE00 9.94
Dark
#1B2431
ΔE00 9.96
Almost Black
#070D0D
ΔE00 10.61
Onyx
#353839
ΔE00 10.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#271F23 #1F2723
analogous
#271F27 #271F23 #271F1F
triadic
#271F23 #23271F #1F2327
tetradic
#271F23 #27271F #1F2723 #1F1F27
square
#271F23 #27271F #1F2723 #1F1F27
split-complementary
#271F23 #1F271F #1F2727
monochromatic
#110E0F #110E0F #271F23 #493A42 #6B5560
Accessibility & contrast
On white
16.07
#271F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#271F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #271F23
16.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##271F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##271F23 | 1.00 | 16.07 | 1.31 | 16.07 |
| #FFFFFF | 16.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2023
Deuteranopia (green-blind)
#212223
Tritanopia (blue-blind)
#281F20
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #271f23; /* rgb */ color: rgb(39, 31, 35); /* oklch */ color: oklch(25.0% 0.014 346.6);
Tailwind
colors: {
custom: {
50: '#615a5d',
500: '#271f23',
950: '#000000',
},
}SCSS
$custom: #271f23; $custom-light: #615a5d; $custom-dark: #000000;
JSON
{
"hex": "#271f23",
"rgb": {
"r": 39,
"g": 31,
"b": 35
},
"hsl": {
"h": 330,
"s": 11.429,
"l": 13.725
},
"oklch": {
"l": 0.25021,
"c": 0.01421,
"h": 346.6
},
"luminance": 0.01533
}Semantic roles & 50–950 ramp
primary
#271F23
secondary
#4A5751
accent
#B49473
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879