#9A234E#9A234E
#9A234E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.157 H 4.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9A234E |
|---|---|
| RGB | rgb(154, 35, 78) |
| HSL | hsl(338, 63%, 37%) |
| HSV | hsv(338, 77%, 60%) |
| CMYK | cmyk(0%, 77.3%, 49.4%, 39.6%) |
| CIE-LAB | lab(35.25, 51.11, 4.37) |
| CIE-LCH | lch(35.25, 51.29, 4.89°) |
| OKLab | oklab(46.22% 0.1564 0.0117) |
| OKLCH | oklch(46.22% 0.157 4.3) |
| XYZ | xyz(15.3039, 8.6242, 8.0650) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.23
Purple Red
#990147
ΔE00 2.96
Violet Red
#A50055
ΔE00 3.61
Mulberry
#920A4E
ΔE00 4.25
Purplish Red
#B0054B
ΔE00 4.46
Raspberry (survey)
#B00149
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A234E #239A6F
analogous
#9A238A #9A234E #9A3323
triadic
#9A234E #4E9A23 #234E9A
tetradic
#9A234E #8A9A23 #239A6F #33239A
square
#9A234E #8A9A23 #239A6F #33239A
split-complementary
#9A234E #239A33 #238A9A
monochromatic
#360C1B #681835 #9A234E #CC2E67 #DA5D8A
Accessibility & contrast
On white
7.71
#9A234E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9A234E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A234E
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A234E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A234E | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#605B4B
Tritanopia (blue-blind)
#A80536
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9a234e; /* rgb */ color: rgb(154, 35, 78); /* oklch */ color: oklch(46.2% 0.157 4.3);
Tailwind
colors: {
custom: {
50: '#bd6a7f',
500: '#9a234e',
950: '#000000',
},
}SCSS
$custom: #9a234e; $custom-light: #bd6a7f; $custom-dark: #000000;
JSON
{
"hex": "#9a234e",
"rgb": {
"r": 154,
"g": 35,
"b": 78
},
"hsl": {
"h": 338.319,
"s": 62.963,
"l": 37.059
},
"oklch": {
"l": 0.46222,
"c": 0.15685,
"h": 4.3
},
"luminance": 0.08622
}Semantic roles & 50–950 ramp
primary
#9A234E
secondary
#5ABF9A
accent
#E6AB42
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C