#902862#902862
#902862 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.150 H 350.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #902862 |
|---|---|
| RGB | rgb(144, 40, 98) |
| HSL | hsl(327, 57%, 36%) |
| HSV | hsv(327, 72%, 56%) |
| CMYK | cmyk(0%, 72.2%, 31.9%, 43.5%) |
| CIE-LAB | lab(34.66, 48.59, -9.59) |
| CIE-LCH | lch(34.66, 49.52, 348.83°) |
| OKLab | oklab(45.66% 0.1483 -0.025) |
| OKLCH | oklch(45.66% 0.15 350.4) |
| XYZ | xyz(14.4658, 8.3303, 12.3990) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.83
Dark Magenta
#960056
ΔE00 4.13
Dark Fuchsia
#9D0759
ΔE00 4.15
Deep Magenta
#A0025C
ΔE00 4.18
Reddish Purple
#910951
ΔE00 4.54
Mulberry
#920A4E
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902862 #289056
analogous
#8A2890 #902862 #90282E
triadic
#902862 #629028 #286290
tetradic
#902862 #908A28 #289056 #282E90
square
#902862 #908A28 #289056 #282E90
split-complementary
#902862 #2E9028 #28908A
monochromatic
#300D21 #601B41 #902862 #C03583 #D360A0
Accessibility & contrast
On white
7.88
#902862 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#902862 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902862
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902862 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384664
Deuteranopia (green-blind)
#565860
Tritanopia (blue-blind)
#9B2241
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #902862; /* rgb */ color: rgb(144, 40, 98); /* oklch */ color: oklch(45.7% 0.150 350.4);
Tailwind
colors: {
custom: {
50: '#b46b8e',
500: '#902862',
950: '#000000',
},
}SCSS
$custom: #902862; $custom-light: #b46b8e; $custom-dark: #000000;
JSON
{
"hex": "#902862",
"rgb": {
"r": 144,
"g": 40,
"b": 98
},
"hsl": {
"h": 326.538,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.45659,
"c": 0.15038,
"h": 350.4
},
"luminance": 0.08329
}Semantic roles & 50–950 ramp
primary
#902862
secondary
#5CB885
accent
#E08B48
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D