#9F255F#9F255F
#9F255F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.165 H 356.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9F255F |
|---|---|
| RGB | rgb(159, 37, 95) |
| HSL | hsl(331, 62%, 38%) |
| HSV | hsv(331, 77%, 62%) |
| CMYK | cmyk(0%, 76.7%, 40.3%, 37.6%) |
| CIE-LAB | lab(36.97, 53.53, -3.93) |
| CIE-LCH | lch(36.97, 53.68, 355.80°) |
| OKLab | oklab(47.83% 0.1645 -0.0097) |
| OKLCH | oklch(47.83% 0.165 356.6) |
| XYZ | xyz(17.0264, 9.5224, 11.7657) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.86
Deep Magenta
#A0025C
ΔE00 2.86
Violet Red
#A50055
ΔE00 3.26
Dark Magenta
#960056
ΔE00 4.18
Reddish Purple
#910951
ΔE00 4.59
Mulberry
#920A4E
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F255F #259F65
analogous
#9F259C #9F255F #9F2825
triadic
#9F255F #5F9F25 #255F9F
tetradic
#9F255F #9C9F25 #259F65 #28259F
square
#9F255F #9C9F25 #259F65 #28259F
split-complementary
#9F255F #259F28 #259C9F
monochromatic
#3C0E24 #6D1941 #9F255F #CF327D #DB649C
Accessibility & contrast
On white
7.23
#9F255F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9F255F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F255F
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F255F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F255F | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#605F5C
Tritanopia (blue-blind)
#AC143F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f255f; /* rgb */ color: rgb(159, 37, 95); /* oklch */ color: oklch(47.8% 0.165 356.6);
Tailwind
colors: {
custom: {
50: '#c06c8c',
500: '#9f255f',
950: '#000000',
},
}SCSS
$custom: #9f255f; $custom-light: #c06c8c; $custom-dark: #000000;
JSON
{
"hex": "#9f255f",
"rgb": {
"r": 159,
"g": 37,
"b": 95
},
"hsl": {
"h": 331.475,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.47834,
"c": 0.16476,
"h": 356.6
},
"luminance": 0.0952
}Semantic roles & 50–950 ramp
primary
#9F255F
secondary
#5FC092
accent
#E59842
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D