#942562#942562
#942562 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.157 H 351.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #942562 |
|---|---|
| RGB | rgb(148, 37, 98) |
| HSL | hsl(327, 60%, 36%) |
| HSV | hsv(327, 75%, 58%) |
| CMYK | cmyk(0%, 75%, 33.8%, 42%) |
| CIE-LAB | lab(35.01, 50.82, -9.00) |
| CIE-LCH | lch(35.01, 51.61, 349.96°) |
| OKLab | oklab(46.05% 0.1555 -0.0233) |
| OKLCH | oklch(46.05% 0.157 351.5) |
| XYZ | xyz(15.0798, 8.5026, 12.4000) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.33
Deep Magenta
#A0025C
ΔE00 3.41
Dark Fuchsia
#9D0759
ΔE00 3.44
Dark Magenta
#960056
ΔE00 3.65
Reddish Purple
#910951
ΔE00 4.20
Mulberry
#920A4E
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942562 #259457
analogous
#8F2594 #942562 #94252B
triadic
#942562 #629425 #256294
tetradic
#942562 #948F25 #259457 #252B94
square
#942562 #948F25 #259457 #252B94
split-complementary
#942562 #2B9425 #25948F
monochromatic
#320D21 #631942 #942562 #C53182 #D65DA0
Accessibility & contrast
On white
7.78
#942562 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#942562 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942562
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942562 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942562 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384664
Deuteranopia (green-blind)
#585A5F
Tritanopia (blue-blind)
#9F1D40
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #942562; /* rgb */ color: rgb(148, 37, 98); /* oklch */ color: oklch(46.1% 0.157 351.5);
Tailwind
colors: {
custom: {
50: '#b86a8e',
500: '#942562',
950: '#000000',
},
}SCSS
$custom: #942562; $custom-light: #b86a8e; $custom-dark: #000000;
JSON
{
"hex": "#942562",
"rgb": {
"r": 148,
"g": 37,
"b": 98
},
"hsl": {
"h": 327.027,
"s": 60,
"l": 36.275
},
"oklch": {
"l": 0.4605,
"c": 0.15725,
"h": 351.5
},
"luminance": 0.08501
}Semantic roles & 50–950 ramp
primary
#942562
secondary
#59BB86
accent
#E38C45
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D