#92257F#92257F
#92257F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.174 H 336.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #92257F |
|---|---|
| RGB | rgb(146, 37, 127) |
| HSL | hsl(310, 60%, 36%) |
| HSV | hsv(310, 75%, 57%) |
| CMYK | cmyk(0%, 74.7%, 13%, 42.7%) |
| CIE-LAB | lab(35.92, 54.25, -25.93) |
| CIE-LCH | lch(35.92, 60.13, 334.45°) |
| OKLab | oklab(47.06% 0.1591 -0.0707) |
| OKLCH | oklch(47.06% 0.174 336) |
| XYZ | xyz(16.3466, 8.9679, 20.9446) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.25
Barney Purple
#A00498
ΔE00 5.01
Darkmagenta
#8B008B
ΔE00 5.34
Light Eggplant
#894585
ΔE00 6.26
Purple
#800080
ΔE00 6.27
Red Violet
#9E0168
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#92257F #259238
analogous
#6E2592 #92257F #922548
triadic
#92257F #7F9225 #257F92
tetradic
#92257F #926E25 #259238 #254892
square
#92257F #926E25 #259238 #254892
split-complementary
#92257F #489225 #25926E
monochromatic
#300C2A #611955 #92257F #C331A9 #D65CC0
Accessibility & contrast
On white
7.52
#92257F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#92257F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #92257F
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##92257F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##92257F | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#9A2D4F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #92257f; /* rgb */ color: rgb(146, 37, 127); /* oklch */ color: oklch(47.1% 0.174 336.0);
Tailwind
colors: {
custom: {
50: '#b56ba4',
500: '#92257f',
950: '#000000',
},
}SCSS
$custom: #92257f; $custom-light: #b56ba4; $custom-dark: #000000;
JSON
{
"hex": "#92257f",
"rgb": {
"r": 146,
"g": 37,
"b": 127
},
"hsl": {
"h": 310.459,
"s": 59.563,
"l": 35.882
},
"oklch": {
"l": 0.47063,
"c": 0.17406,
"h": 336
},
"luminance": 0.08966
}Semantic roles & 50–950 ramp
primary
#92257F
secondary
#58BA69
accent
#E36145
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F