#9F257E#9F257E
#9F257E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.181 H 341.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9F257E |
|---|---|
| RGB | rgb(159, 37, 126) |
| HSL | hsl(316, 62%, 38%) |
| HSV | hsv(316, 77%, 62%) |
| CMYK | cmyk(0%, 76.7%, 20.8%, 37.6%) |
| CIE-LAB | lab(38.20, 57.31, -21.58) |
| CIE-LCH | lch(38.20, 61.24, 339.37°) |
| OKLab | oklab(49.13% 0.1718 -0.0581) |
| OKLCH | oklch(49.13% 0.181 341.3) |
| XYZ | xyz(18.7261, 10.2023, 20.7177) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.69
Red Violet
#9E0168
ΔE00 4.96
Barney Purple
#A00498
ΔE00 6.09
Light Eggplant
#894585
ΔE00 6.89
Magenta (survey)
#C20078
ΔE00 7.34
Deep Magenta
#A0025C
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F257E #259F46
analogous
#83259F #9F257E #9F2541
triadic
#9F257E #7E9F25 #257E9F
tetradic
#9F257E #9F8325 #259F46 #25419F
square
#9F257E #9F8325 #259F46 #25419F
split-complementary
#9F257E #419F25 #259F83
monochromatic
#3C0E2F #6D1957 #9F257E #CF32A5 #DB64BB
Accessibility & contrast
On white
6.91
#9F257E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#9F257E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F257E
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F257E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F257E | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#A9284F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9f257e; /* rgb */ color: rgb(159, 37, 126); /* oklch */ color: oklch(49.1% 0.181 341.3);
Tailwind
colors: {
custom: {
50: '#bf6da3',
500: '#9f257e',
950: '#000000',
},
}SCSS
$custom: #9f257e; $custom-light: #bf6da3; $custom-dark: #000000;
JSON
{
"hex": "#9f257e",
"rgb": {
"r": 159,
"g": 37,
"b": 126
},
"hsl": {
"h": 316.23,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.49134,
"c": 0.18137,
"h": 341.3
},
"luminance": 0.102
}Semantic roles & 50–950 ramp
primary
#9F257E
secondary
#5FC07A
accent
#E56F42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F