#902E79#902E79
#902E79 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.3% C 0.157 H 338.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #902E79 |
|---|---|
| RGB | rgb(144, 46, 121) |
| HSL | hsl(314, 52%, 37%) |
| HSV | hsv(314, 68%, 56%) |
| CMYK | cmyk(0%, 68.1%, 16%, 43.5%) |
| CIE-LAB | lab(36.49, 49.42, -21.33) |
| CIE-LCH | lch(36.49, 53.83, 336.66°) |
| OKLab | oklab(47.31% 0.1461 -0.0577) |
| OKLCH | oklch(47.31% 0.157 338.4) |
| XYZ | xyz(15.9301, 9.2652, 19.0348) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.47
Light Eggplant
#894585
ΔE00 5.34
Bruise
#7E4071
ΔE00 5.40
Red Violet
#9E0168
ΔE00 5.82
Barney Purple
#A00498
ΔE00 6.89
Darkmagenta
#8B008B
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902E79 #2E9045
analogous
#762E90 #902E79 #902E48
triadic
#902E79 #79902E #2E7990
tetradic
#902E79 #90762E #2E9045 #2E4890
square
#902E79 #90762E #2E9045 #2E4890
split-complementary
#902E79 #48902E #2E9076
monochromatic
#33102B #621F52 #902E79 #BE3DA0 #CF69B7
Accessibility & contrast
On white
7.36
#902E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#902E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902E79
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902E79 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#515B77
Tritanopia (blue-blind)
#98324F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #902e79; /* rgb */ color: rgb(144, 46, 121); /* oklch */ color: oklch(47.3% 0.157 338.4);
Tailwind
colors: {
custom: {
50: '#b46fa0',
500: '#902e79',
950: '#000000',
},
}SCSS
$custom: #902e79; $custom-light: #b46fa0; $custom-dark: #000000;
JSON
{
"hex": "#902e79",
"rgb": {
"r": 144,
"g": 46,
"b": 121
},
"hsl": {
"h": 314.082,
"s": 51.579,
"l": 37.255
},
"oklch": {
"l": 0.47314,
"c": 0.15704,
"h": 338.4
},
"luminance": 0.09264
}Semantic roles & 50–950 ramp
primary
#902E79
secondary
#64B677
accent
#DB6E4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E