#942472#942472
#942472 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.168 H 343.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #942472 |
|---|---|
| RGB | rgb(148, 36, 114) |
| HSL | hsl(318, 61%, 36%) |
| HSV | hsv(318, 76%, 58%) |
| CMYK | cmyk(0%, 75.7%, 23%, 42%) |
| CIE-LAB | lab(35.55, 53.21, -18.34) |
| CIE-LCH | lch(35.55, 56.29, 340.98°) |
| OKLab | oklab(46.66% 0.1603 -0.0491) |
| OKLCH | oklch(46.66% 0.168 343) |
| XYZ | xyz(15.8815, 8.7742, 16.7735) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.66
Warm Purple
#952E8F
ΔE00 6.11
Deep Magenta
#A0025C
ΔE00 6.38
Bruise
#7E4071
ΔE00 6.66
Dark Magenta
#960056
ΔE00 6.69
Dark Fuchsia
#9D0759
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942472 #249446
analogous
#7E2494 #942472 #94243A
triadic
#942472 #729424 #247294
tetradic
#942472 #947E24 #249446 #243A94
square
#942472 #947E24 #249446 #243A94
split-complementary
#942472 #3A9424 #24947E
monochromatic
#320C26 #63184C #942472 #C53098 #D75BB2
Accessibility & contrast
On white
7.62
#942472 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#942472 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942472
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942472 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942472 | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#535A6F
Tritanopia (blue-blind)
#9E2448
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #942472; /* rgb */ color: rgb(148, 36, 114); /* oklch */ color: oklch(46.7% 0.168 343.0);
Tailwind
colors: {
custom: {
50: '#b76a9a',
500: '#942472',
950: '#000000',
},
}SCSS
$custom: #942472; $custom-light: #b76a9a; $custom-dark: #000000;
JSON
{
"hex": "#942472",
"rgb": {
"r": 148,
"g": 36,
"b": 114
},
"hsl": {
"h": 318.214,
"s": 60.87,
"l": 36.078
},
"oklch": {
"l": 0.46657,
"c": 0.16761,
"h": 343
},
"luminance": 0.08773
}Semantic roles & 50–950 ramp
primary
#942472
secondary
#58BC76
accent
#E47444
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E