#8A314C#8A314C
#8A314C is a dark, vivid pink. Relative luminance 0.081; OKLCH L 44.9% C 0.123 H 4.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8A314C |
|---|---|
| RGB | rgb(138, 49, 76) |
| HSL | hsl(342, 48%, 37%) |
| HSV | hsv(342, 64%, 54%) |
| CMYK | cmyk(0%, 64.5%, 44.9%, 45.9%) |
| CIE-LAB | lab(34.24, 40.31, 3.82) |
| CIE-LCH | lch(34.24, 40.49, 5.41°) |
| OKLab | oklab(44.9% 0.1229 0.0103) |
| OKLCH | oklch(44.9% 0.123 4.8) |
| XYZ | xyz(12.8850, 8.1232, 7.7255) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.97
Purple Red
#990147
ΔE00 5.54
Mulberry
#920A4E
ΔE00 5.84
Reddish Purple
#910951
ΔE00 6.47
Brownish Purple
#76424E
ΔE00 6.75
Violet Red
#A50055
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A314C #318A6F
analogous
#8A3179 #8A314C #8A4331
triadic
#8A314C #4C8A31 #314C8A
tetradic
#8A314C #798A31 #318A6F #43318A
square
#8A314C #798A31 #318A6F #43318A
split-complementary
#8A314C #318A43 #31798A
monochromatic
#30111A #5D2133 #8A314C #B74165 #CA6B88
Accessibility & contrast
On white
8.00
#8A314C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8A314C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A314C
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A314C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A314C | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43464D
Deuteranopia (green-blind)
#5A574A
Tritanopia (blue-blind)
#96263B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a314c; /* rgb */ color: rgb(138, 49, 76); /* oklch */ color: oklch(44.9% 0.123 4.8);
Tailwind
colors: {
custom: {
50: '#b06e7d',
500: '#8a314c',
950: '#000000',
},
}SCSS
$custom: #8a314c; $custom-light: #b06e7d; $custom-dark: #000000;
JSON
{
"hex": "#8a314c",
"rgb": {
"r": 138,
"g": 49,
"b": 76
},
"hsl": {
"h": 341.798,
"s": 47.594,
"l": 36.667
},
"oklch": {
"l": 0.449,
"c": 0.12336,
"h": 4.8
},
"luminance": 0.08122
}Semantic roles & 50–950 ramp
primary
#8A314C
secondary
#65B29B
accent
#D7AE51
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B