#942362#942362
#942362 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 351.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #942362 |
|---|---|
| RGB | rgb(148, 35, 98) |
| HSL | hsl(327, 62%, 36%) |
| HSV | hsv(327, 76%, 58%) |
| CMYK | cmyk(0%, 76.4%, 33.8%, 42%) |
| CIE-LAB | lab(34.77, 51.50, -9.36) |
| CIE-LCH | lch(34.77, 52.35, 349.69°) |
| OKLab | oklab(45.87% 0.1577 -0.0243) |
| OKLCH | oklch(45.87% 0.16 351.2) |
| XYZ | xyz(15.0192, 8.3816, 12.3798) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.07
Deep Magenta
#A0025C
ΔE00 3.31
Dark Fuchsia
#9D0759
ΔE00 3.36
Dark Magenta
#960056
ΔE00 3.48
Reddish Purple
#910951
ΔE00 4.10
Mulberry
#920A4E
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942362 #239455
analogous
#8D2394 #942362 #942329
triadic
#942362 #629423 #236294
tetradic
#942362 #948D23 #239455 #232994
square
#942362 #948D23 #239455 #232994
split-complementary
#942362 #299423 #23948D
monochromatic
#310C20 #631741 #942362 #C52F83 #D85AA0
Accessibility & contrast
On white
7.85
#942362 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#942362 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942362
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942362 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942362 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374564
Deuteranopia (green-blind)
#57595F
Tritanopia (blue-blind)
#9F1A3F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #942362; /* rgb */ color: rgb(148, 35, 98); /* oklch */ color: oklch(45.9% 0.160 351.2);
Tailwind
colors: {
custom: {
50: '#b8698e',
500: '#942362',
950: '#000000',
},
}SCSS
$custom: #942362; $custom-light: #b8698e; $custom-dark: #000000;
JSON
{
"hex": "#942362",
"rgb": {
"r": 148,
"g": 35,
"b": 98
},
"hsl": {
"h": 326.549,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.45873,
"c": 0.15954,
"h": 351.2
},
"luminance": 0.0838
}Semantic roles & 50–950 ramp
primary
#942362
secondary
#57BC84
accent
#E58B43
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D