#9F254B#9F254B
#9F254B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.159 H 7.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9F254B |
|---|---|
| RGB | rgb(159, 37, 75) |
| HSL | hsl(341, 62%, 38%) |
| HSV | hsv(341, 77%, 62%) |
| CMYK | cmyk(0%, 76.7%, 52.8%, 37.6%) |
| CIE-LAB | lab(36.37, 51.65, 8.04) |
| CIE-LCH | lch(36.37, 52.27, 8.84°) |
| OKLab | oklab(47.2% 0.1574 0.0207) |
| OKLCH | oklch(47.2% 0.159 7.5) |
| XYZ | xyz(16.2311, 9.2043, 7.5772) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.27
Raspberry (survey)
#B00149
ΔE00 3.40
Berry
#990F4B
ΔE00 3.80
Purple Red
#990147
ΔE00 4.10
Cranberry
#9E003A
ΔE00 4.33
Violet Red
#A50055
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F254B #259F79
analogous
#9F2588 #9F254B #9F3C25
triadic
#9F254B #4B9F25 #254B9F
tetradic
#9F254B #889F25 #259F79 #3C259F
square
#9F254B #889F25 #259F79 #3C259F
split-complementary
#9F254B #259F3C #25889F
monochromatic
#3C0E1C #6D1934 #9F254B #CF3263 #DB6489
Accessibility & contrast
On white
7.39
#9F254B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9F254B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F254B
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F254B | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44464C
Deuteranopia (green-blind)
#645E48
Tritanopia (blue-blind)
#AE0135
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f254b; /* rgb */ color: rgb(159, 37, 75); /* oklch */ color: oklch(47.2% 0.159 7.5);
Tailwind
colors: {
custom: {
50: '#c16b7d',
500: '#9f254b',
950: '#000000',
},
}SCSS
$custom: #9f254b; $custom-light: #c16b7d; $custom-dark: #000000;
JSON
{
"hex": "#9f254b",
"rgb": {
"r": 159,
"g": 37,
"b": 75
},
"hsl": {
"h": 341.311,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.472,
"c": 0.15874,
"h": 7.5
},
"luminance": 0.09202
}Semantic roles & 50–950 ramp
primary
#9F254B
secondary
#5FC0A2
accent
#E5B342
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B