#38142F#38142F
#38142F is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.8% C 0.070 H 338.1°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).
Color values
| HEX | #38142F |
|---|---|
| RGB | rgb(56, 20, 47) |
| HSL | hsl(315, 47%, 15%) |
| HSV | hsv(315, 64%, 22%) |
| CMYK | cmyk(0%, 64.3%, 16.1%, 78%) |
| CIE-LAB | lab(12.90, 22.00, -9.63) |
| CIE-LCH | lch(12.90, 24.01, 336.35°) |
| OKLab | oklab(25.82% 0.0645 -0.026) |
| OKLCH | oklch(25.82% 0.07 338.1) |
| XYZ | xyz(2.3942, 1.5465, 2.8612) |
| Luminance | 0.0155 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Aubergine
#3D0734
ΔE00 4.55
Eggplant
#380835
ΔE00 4.82
Dark Plum
#3F012C
ΔE00 5.10
Eggplant Purple
#430541
ΔE00 7.40
Dark Purple
#35063E
ΔE00 7.86
Plum (survey)
#580F41
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38142F #14381D
analogous
#2F1438 #38142F #38141D
triadic
#38142F #2F3814 #142F38
tetradic
#38142F #382F14 #14381D #141D38
square
#38142F #382F14 #14381D #141D38
split-complementary
#38142F #1D3814 #14382F
monochromatic
#170813 #170813 #38142F #652455 #92347B
Accessibility & contrast
On white
16.04
#38142F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#38142F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38142F
16.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38142F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38142F | 1.00 | 16.04 | 1.31 | 16.04 |
| #FFFFFF | 16.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#151E30
Deuteranopia (green-blind)
#1F232E
Tritanopia (blue-blind)
#3B151F
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #38142f; /* rgb */ color: rgb(56, 20, 47); /* oklch */ color: oklch(25.8% 0.070 338.1);
Tailwind
colors: {
custom: {
50: '#705367',
500: '#38142f',
950: '#000000',
},
}SCSS
$custom: #38142f; $custom-light: #705367; $custom-dark: #000000;
JSON
{
"hex": "#38142f",
"rgb": {
"r": 56,
"g": 20,
"b": 47
},
"hsl": {
"h": 315,
"s": 47.368,
"l": 14.902
},
"oklch": {
"l": 0.25816,
"c": 0.06957,
"h": 338.1
},
"luminance": 0.01546
}Semantic roles & 50–950 ramp
primary
#38142F
secondary
#387046
accent
#D77251
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070206
muted
#7A787A