#9D257F#9D257F
#9D257F is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.181 H 340.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9D257F |
|---|---|
| RGB | rgb(157, 37, 127) |
| HSL | hsl(315, 62%, 38%) |
| HSV | hsv(315, 76%, 62%) |
| CMYK | cmyk(0%, 76.4%, 19.1%, 38.4%) |
| CIE-LAB | lab(37.89, 56.95, -22.72) |
| CIE-LCH | lch(37.89, 61.32, 338.25°) |
| OKLab | oklab(48.85% 0.17 -0.0613) |
| OKLCH | oklch(48.85% 0.181 340.2) |
| XYZ | xyz(18.3975, 10.0254, 21.0408) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.20
Red Violet
#9E0168
ΔE00 5.22
Barney Purple
#A00498
ΔE00 5.67
Light Eggplant
#894585
ΔE00 6.66
Darkmagenta
#8B008B
ΔE00 7.30
Bruise
#7E4071
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D257F #259D43
analogous
#7F259D #9D257F #9D2543
triadic
#9D257F #7F9D25 #257F9D
tetradic
#9D257F #9D7F25 #259D43 #25439D
square
#9D257F #9D7F25 #259D43 #25439D
split-complementary
#9D257F #439D25 #259D7F
monochromatic
#3A0E2F #6B1957 #9D257F #CE31A7 #DA62BC
Accessibility & contrast
On white
6.99
#9D257F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#9D257F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D257F
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D257F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D257F | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A7294F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9d257f; /* rgb */ color: rgb(157, 37, 127); /* oklch */ color: oklch(48.9% 0.181 340.2);
Tailwind
colors: {
custom: {
50: '#be6da4',
500: '#9d257f',
950: '#000000',
},
}SCSS
$custom: #9d257f; $custom-light: #be6da4; $custom-dark: #000000;
JSON
{
"hex": "#9d257f",
"rgb": {
"r": 157,
"g": 37,
"b": 127
},
"hsl": {
"h": 315,
"s": 61.856,
"l": 38.039
},
"oklch": {
"l": 0.48853,
"c": 0.18077,
"h": 340.2
},
"luminance": 0.10024
}Semantic roles & 50–950 ramp
primary
#9D257F
secondary
#5EBF77
accent
#E56B43
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F