#9C257E#9C257E
#9C257E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.179 H 340.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9C257E |
|---|---|
| RGB | rgb(156, 37, 126) |
| HSL | hsl(315, 62%, 38%) |
| HSV | hsv(315, 76%, 61%) |
| CMYK | cmyk(0%, 76.3%, 19.2%, 38.8%) |
| CIE-LAB | lab(37.66, 56.57, -22.46) |
| CIE-LCH | lch(37.66, 60.87, 338.34°) |
| OKLab | oklab(48.64% 0.1689 -0.0606) |
| OKLCH | oklch(48.64% 0.179 340.3) |
| XYZ | xyz(18.1383, 9.8992, 20.6901) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.27
Red Violet
#9E0168
ΔE00 5.09
Barney Purple
#A00498
ΔE00 5.77
Light Eggplant
#894585
ΔE00 6.66
Darkmagenta
#8B008B
ΔE00 7.26
Bruise
#7E4071
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C257E #259C43
analogous
#7E259C #9C257E #9C2542
triadic
#9C257E #7E9C25 #257E9C
tetradic
#9C257E #9C7E25 #259C43 #25429C
square
#9C257E #9C7E25 #259C43 #25429C
split-complementary
#9C257E #429C25 #259C7E
monochromatic
#390E2E #6B1956 #9C257E #CD31A6 #DA62BB
Accessibility & contrast
On white
7.05
#9C257E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#9C257E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C257E
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C257E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C257E | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#555F7B
Tritanopia (blue-blind)
#A5294F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9c257e; /* rgb */ color: rgb(156, 37, 126); /* oklch */ color: oklch(48.6% 0.179 340.3);
Tailwind
colors: {
custom: {
50: '#bd6ca3',
500: '#9c257e',
950: '#000000',
},
}SCSS
$custom: #9c257e; $custom-light: #bd6ca3; $custom-dark: #000000;
JSON
{
"hex": "#9c257e",
"rgb": {
"r": 156,
"g": 37,
"b": 126
},
"hsl": {
"h": 315.126,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.4864,
"c": 0.17948,
"h": 340.3
},
"luminance": 0.09897
}Semantic roles & 50–950 ramp
primary
#9C257E
secondary
#5EBF76
accent
#E56C43
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F