#942762#942762
#942762 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.155 H 351.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #942762 |
|---|---|
| RGB | rgb(148, 39, 98) |
| HSL | hsl(328, 58%, 37%) |
| HSV | hsv(328, 74%, 58%) |
| CMYK | cmyk(0%, 73.6%, 33.8%, 42%) |
| CIE-LAB | lab(35.26, 50.10, -8.61) |
| CIE-LCH | lch(35.26, 50.84, 350.24°) |
| OKLab | oklab(46.24% 0.1533 -0.0223) |
| OKLCH | oklch(46.24% 0.155 351.7) |
| XYZ | xyz(15.1437, 8.6305, 12.4213) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 3.54
Dark Fuchsia
#9D0759
ΔE00 3.55
Red Violet
#9E0168
ΔE00 3.61
Dark Magenta
#960056
ΔE00 3.84
Reddish Purple
#910951
ΔE00 4.33
Mulberry
#920A4E
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942762 #279459
analogous
#902794 #942762 #94272C
triadic
#942762 #629427 #276294
tetradic
#942762 #949027 #279459 #272C94
square
#942762 #949027 #279459 #272C94
split-complementary
#942762 #2C9427 #279490
monochromatic
#330D22 #641A42 #942762 #C43482 #D560A0
Accessibility & contrast
On white
7.70
#942762 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#942762 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942762
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942762 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942762 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#585A60
Tritanopia (blue-blind)
#9F1F41
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #942762; /* rgb */ color: rgb(148, 39, 98); /* oklch */ color: oklch(46.2% 0.155 351.7);
Tailwind
colors: {
custom: {
50: '#b86b8e',
500: '#942762',
950: '#000000',
},
}SCSS
$custom: #942762; $custom-light: #b86b8e; $custom-dark: #000000;
JSON
{
"hex": "#942762",
"rgb": {
"r": 148,
"g": 39,
"b": 98
},
"hsl": {
"h": 327.523,
"s": 58.289,
"l": 36.667
},
"oklch": {
"l": 0.46237,
"c": 0.15488,
"h": 351.7
},
"luminance": 0.08629
}Semantic roles & 50–950 ramp
primary
#942762
secondary
#5CBB88
accent
#E28D46
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D