#4C0C27#4C0C27
#4C0C27 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.2% C 0.097 H 0.3°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4C0C27 |
|---|---|
| RGB | rgb(76, 12, 39) |
| HSL | hsl(335, 73%, 17%) |
| HSV | hsv(335, 84%, 30%) |
| CMYK | cmyk(0%, 84.2%, 48.7%, 70.2%) |
| CIE-LAB | lab(15.20, 31.51, 0.07) |
| CIE-LCH | lch(15.20, 31.51, 0.12°) |
| OKLab | oklab(28.17% 0.0968 0.0005) |
| OKLCH | oklch(28.17% 0.097 0.3) |
| XYZ | xyz(3.4784, 1.9464, 2.1116) |
| Luminance | 0.0195 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.30
Dark Plum
#3F012C
ΔE00 6.51
Plum (survey)
#580F41
ΔE00 7.46
Maroon (survey)
#650021
ΔE00 7.83
Merlot
#730039
ΔE00 8.04
Dark Maroon
#3C0008
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C0C27 #0C4C31
analogous
#4C0C47 #4C0C27 #4C110C
triadic
#4C0C27 #274C0C #0C274C
tetradic
#4C0C27 #474C0C #0C4C31 #110C4C
square
#4C0C27 #474C0C #0C4C31 #110C4C
split-complementary
#4C0C27 #0C4C11 #0C474C
monochromatic
#1A040E #1A040E #4C0C27 #811442 #B61D5D
Accessibility & contrast
On white
15.12
#4C0C27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#4C0C27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C0C27
15.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C0C27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C0C27 | 1.00 | 15.12 | 1.39 | 15.12 |
| #FFFFFF | 15.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B1E28
Deuteranopia (green-blind)
#2C2B26
Tritanopia (blue-blind)
#530218
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #4c0c27; /* rgb */ color: rgb(76, 12, 39); /* oklch */ color: oklch(28.2% 0.097 0.3);
Tailwind
colors: {
custom: {
50: '#825260',
500: '#4c0c27',
950: '#000000',
},
}SCSS
$custom: #4c0c27; $custom-light: #825260; $custom-dark: #000000;
JSON
{
"hex": "#4c0c27",
"rgb": {
"r": 76,
"g": 12,
"b": 39
},
"hsl": {
"h": 334.688,
"s": 72.727,
"l": 17.255
},
"oklch": {
"l": 0.28167,
"c": 0.09675,
"h": 0.3
},
"luminance": 0.01946
}Semantic roles & 50–950 ramp
primary
#4C0C27
secondary
#2C8861
accent
#EFA238
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0205
muted
#7C7879