#9A214A#9A214A
#9A214A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.158 H 6.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9A214A |
|---|---|
| RGB | rgb(154, 33, 74) |
| HSL | hsl(340, 65%, 37%) |
| HSV | hsv(340, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 51.9%, 39.6%) |
| CIE-LAB | lab(34.91, 51.40, 6.48) |
| CIE-LCH | lch(34.91, 51.81, 7.19°) |
| OKLab | oklab(45.94% 0.157 0.0169) |
| OKLCH | oklch(45.94% 0.158 6.1) |
| XYZ | xyz(15.1077, 8.4543, 7.3135) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.53
Purple Red
#990147
ΔE00 2.88
Purplish Red
#B0054B
ΔE00 4.06
Raspberry (survey)
#B00149
ΔE00 4.20
Violet Red
#A50055
ΔE00 4.30
Cranberry
#9E003A
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A214A #219A71
analogous
#9A2187 #9A214A #9A3421
triadic
#9A214A #4A9A21 #214A9A
tetradic
#9A214A #879A21 #219A71 #34219A
square
#9A214A #879A21 #219A71 #34219A
split-complementary
#9A214A #219A34 #21879A
monochromatic
#350B1A #681632 #9A214A #CC2C62 #DC5A86
Accessibility & contrast
On white
7.81
#9A214A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9A214A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A214A
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A214A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A214A | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#605B47
Tritanopia (blue-blind)
#A80033
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a214a; /* rgb */ color: rgb(154, 33, 74); /* oklch */ color: oklch(45.9% 0.158 6.1);
Tailwind
colors: {
custom: {
50: '#be697c',
500: '#9a214a',
950: '#000000',
},
}SCSS
$custom: #9a214a; $custom-light: #be697c; $custom-dark: #000000;
JSON
{
"hex": "#9a214a",
"rgb": {
"r": 154,
"g": 33,
"b": 74
},
"hsl": {
"h": 339.669,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.45936,
"c": 0.15789,
"h": 6.1
},
"luminance": 0.08452
}Semantic roles & 50–950 ramp
primary
#9A214A
secondary
#57C09C
accent
#E8AF40
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B