#38112A#38112A
#38112A is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.071 H 344.1°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).
Color values
| HEX | #38112A |
|---|---|
| RGB | rgb(56, 17, 42) |
| HSL | hsl(322, 53%, 14%) |
| HSV | hsv(322, 70%, 22%) |
| CMYK | cmyk(0%, 69.6%, 25%, 78%) |
| CIE-LAB | lab(12.02, 22.79, -7.33) |
| CIE-LCH | lch(12.02, 23.94, 342.17°) |
| OKLab | oklab(25.08% 0.0683 -0.0195) |
| OKLCH | oklch(25.08% 0.071 344.1) |
| XYZ | xyz(2.2493, 1.4090, 2.3435) |
| Luminance | 0.0141 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 4.62
Aubergine
#3D0734
ΔE00 5.04
Eggplant
#380835
ΔE00 5.66
Plum (survey)
#580F41
ΔE00 8.02
Eggplant Purple
#430541
ΔE00 8.24
Dark Purple
#35063E
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38112A #11381F
analogous
#331138 #38112A #381117
triadic
#38112A #2A3811 #112A38
tetradic
#38112A #383311 #11381F #111738
square
#38112A #383311 #11381F #111738
split-complementary
#38112A #173811 #113833
monochromatic
#170712 #170712 #38112A #671F4D #962E70
Accessibility & contrast
On white
16.38
#38112A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#38112A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38112A
16.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38112A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38112A | 1.00 | 16.38 | 1.28 | 16.38 |
| #FFFFFF | 16.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#141B2B
Deuteranopia (green-blind)
#202229
Tritanopia (blue-blind)
#3C111B
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #38112a; /* rgb */ color: rgb(56, 17, 42); /* oklch */ color: oklch(25.1% 0.071 344.1);
Tailwind
colors: {
custom: {
50: '#705163',
500: '#38112a',
950: '#000000',
},
}SCSS
$custom: #38112a; $custom-light: #705163; $custom-dark: #000000;
JSON
{
"hex": "#38112a",
"rgb": {
"r": 56,
"g": 17,
"b": 42
},
"hsl": {
"h": 321.538,
"s": 53.425,
"l": 14.314
},
"oklch": {
"l": 0.25083,
"c": 0.07099,
"h": 344.1
},
"luminance": 0.01409
}Semantic roles & 50–950 ramp
primary
#38112A
secondary
#34714A
accent
#DD7F4B
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#080205
muted
#7B7879