#9F254F#9F254F
#9F254F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.3% C 0.160 H 5.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9F254F |
|---|---|
| RGB | rgb(159, 37, 79) |
| HSL | hsl(339, 62%, 38%) |
| HSV | hsv(339, 77%, 62%) |
| CMYK | cmyk(0%, 76.7%, 50.3%, 37.6%) |
| CIE-LAB | lab(36.48, 51.99, 5.61) |
| CIE-LCH | lch(36.48, 52.29, 6.16°) |
| OKLab | oklab(47.31% 0.1589 0.0148) |
| OKLCH | oklch(47.31% 0.16 5.3) |
| XYZ | xyz(16.3723, 9.2608, 8.3210) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.16
Purplish Red
#B0054B
ΔE00 3.58
Purple Red
#990147
ΔE00 3.74
Raspberry (survey)
#B00149
ΔE00 3.85
Violet Red
#A50055
ΔE00 3.94
Cranberry
#9E003A
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F254F #259F75
analogous
#9F258C #9F254F #9F3825
triadic
#9F254F #4F9F25 #254F9F
tetradic
#9F254F #8C9F25 #259F75 #38259F
square
#9F254F #8C9F25 #259F75 #38259F
split-complementary
#9F254F #259F38 #258C9F
monochromatic
#3C0E1E #6D1936 #9F254F #CF3268 #DB648D
Accessibility & contrast
On white
7.36
#9F254F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9F254F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F254F
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F254F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F254F | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434650
Deuteranopia (green-blind)
#635F4C
Tritanopia (blue-blind)
#AD0537
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f254f; /* rgb */ color: rgb(159, 37, 79); /* oklch */ color: oklch(47.3% 0.160 5.3);
Tailwind
colors: {
custom: {
50: '#c16b80',
500: '#9f254f',
950: '#000000',
},
}SCSS
$custom: #9f254f; $custom-light: #c16b80; $custom-dark: #000000;
JSON
{
"hex": "#9f254f",
"rgb": {
"r": 159,
"g": 37,
"b": 79
},
"hsl": {
"h": 339.344,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.47314,
"c": 0.1596,
"h": 5.3
},
"luminance": 0.09259
}Semantic roles & 50–950 ramp
primary
#9F254F
secondary
#5FC09F
accent
#E5AD42
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C