#8C1748#8C1748
#8C1748 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.154 H 2.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8C1748 |
|---|---|
| RGB | rgb(140, 23, 72) |
| HSL | hsl(335, 72%, 32%) |
| HSV | hsv(335, 84%, 55%) |
| CMYK | cmyk(0%, 83.6%, 48.6%, 45.1%) |
| CIE-LAB | lab(31.01, 50.20, 1.84) |
| CIE-LCH | lch(31.01, 50.24, 2.10°) |
| OKLab | oklab(42.55% 0.1542 0.0053) |
| OKLCH | oklch(42.55% 0.154 2) |
| XYZ | xyz(12.2924, 6.6578, 6.7674) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.11
Berry
#990F4B
ΔE00 2.45
Purple Red
#990147
ΔE00 2.70
Reddish Purple
#910951
ΔE00 2.96
Wine (survey)
#80013F
ΔE00 3.35
Red Purple
#820747
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C1748 #178C5B
analogous
#8C1783 #8C1748 #8C2117
triadic
#8C1748 #488C17 #17488C
tetradic
#8C1748 #838C17 #178C5B #21178C
square
#8C1748 #838C17 #178C5B #21178C
split-complementary
#8C1748 #178C21 #17838C
monochromatic
#230612 #570E2D #8C1748 #C12063 #DF3E82
Accessibility & contrast
On white
9.01
#8C1748 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8C1748 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C1748
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C1748 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C1748 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353B49
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#99002E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8c1748; /* rgb */ color: rgb(140, 23, 72); /* oklch */ color: oklch(42.5% 0.154 2.0);
Tailwind
colors: {
custom: {
50: '#b3637a',
500: '#8c1748',
950: '#000000',
},
}SCSS
$custom: #8c1748; $custom-light: #b3637a; $custom-dark: #000000;
JSON
{
"hex": "#8c1748",
"rgb": {
"r": 140,
"g": 23,
"b": 72
},
"hsl": {
"h": 334.872,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.4255,
"c": 0.15428,
"h": 2
},
"luminance": 0.06656
}Semantic roles & 50–950 ramp
primary
#8C1748
secondary
#3FBF8A
accent
#EFA339
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B