#9F254D#9F254D
#9F254D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.159 H 6.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9F254D |
|---|---|
| RGB | rgb(159, 37, 77) |
| HSL | hsl(340, 62%, 38%) |
| HSV | hsv(340, 77%, 62%) |
| CMYK | cmyk(0%, 76.7%, 51.6%, 37.6%) |
| CIE-LAB | lab(36.43, 51.82, 6.82) |
| CIE-LCH | lch(36.43, 52.26, 7.50°) |
| OKLab | oklab(47.26% 0.1582 0.0178) |
| OKLCH | oklch(47.26% 0.159 6.4) |
| XYZ | xyz(16.3006, 9.2321, 7.9434) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.37
Berry
#990F4B
ΔE00 3.43
Raspberry (survey)
#B00149
ΔE00 3.57
Purple Red
#990147
ΔE00 3.87
Violet Red
#A50055
ΔE00 4.43
Cranberry
#9E003A
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F254D #259F77
analogous
#9F258A #9F254D #9F3A25
triadic
#9F254D #4D9F25 #254D9F
tetradic
#9F254D #8A9F25 #259F77 #3A259F
square
#9F254D #8A9F25 #259F77 #3A259F
split-complementary
#9F254D #259F3A #258A9F
monochromatic
#3C0E1D #6D1935 #9F254D #CF3266 #DB648B
Accessibility & contrast
On white
7.38
#9F254D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9F254D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F254D
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F254D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F254D | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44464E
Deuteranopia (green-blind)
#645E4A
Tritanopia (blue-blind)
#AE0336
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f254d; /* rgb */ color: rgb(159, 37, 77); /* oklch */ color: oklch(47.3% 0.159 6.4);
Tailwind
colors: {
custom: {
50: '#c16b7e',
500: '#9f254d',
950: '#000000',
},
}SCSS
$custom: #9f254d; $custom-light: #c16b7e; $custom-dark: #000000;
JSON
{
"hex": "#9f254d",
"rgb": {
"r": 159,
"g": 37,
"b": 77
},
"hsl": {
"h": 340.328,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.47256,
"c": 0.15914,
"h": 6.4
},
"luminance": 0.0923
}Semantic roles & 50–950 ramp
primary
#9F254D
secondary
#5FC0A1
accent
#E5B042
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B