#942662#942662
#942662 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.156 H 351.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #942662 |
|---|---|
| RGB | rgb(148, 38, 98) |
| HSL | hsl(327, 59%, 36%) |
| HSV | hsv(327, 74%, 58%) |
| CMYK | cmyk(0%, 74.3%, 33.8%, 42%) |
| CIE-LAB | lab(35.13, 50.46, -8.81) |
| CIE-LCH | lch(35.13, 51.22, 350.10°) |
| OKLab | oklab(46.14% 0.1544 -0.0228) |
| OKLCH | oklch(46.14% 0.156 351.6) |
| XYZ | xyz(15.1113, 8.5657, 12.4105) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.47
Deep Magenta
#A0025C
ΔE00 3.47
Dark Fuchsia
#9D0759
ΔE00 3.49
Dark Magenta
#960056
ΔE00 3.74
Reddish Purple
#910951
ΔE00 4.26
Mulberry
#920A4E
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942662 #269458
analogous
#8F2694 #942662 #94262B
triadic
#942662 #629426 #266294
tetradic
#942662 #948F26 #269458 #262B94
square
#942662 #948F26 #269458 #262B94
split-complementary
#942662 #2B9426 #26948F
monochromatic
#330D22 #631942 #942662 #C53382 #D65FA0
Accessibility & contrast
On white
7.74
#942662 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#942662 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942662
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942662 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942662 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#585A5F
Tritanopia (blue-blind)
#9F1E40
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #942662; /* rgb */ color: rgb(148, 38, 98); /* oklch */ color: oklch(46.1% 0.156 351.6);
Tailwind
colors: {
custom: {
50: '#b86b8e',
500: '#942662',
950: '#000000',
},
}SCSS
$custom: #942662; $custom-light: #b86b8e; $custom-dark: #000000;
JSON
{
"hex": "#942662",
"rgb": {
"r": 148,
"g": 38,
"b": 98
},
"hsl": {
"h": 327.273,
"s": 59.14,
"l": 36.471
},
"oklch": {
"l": 0.46142,
"c": 0.15607,
"h": 351.6
},
"luminance": 0.08564
}Semantic roles & 50–950 ramp
primary
#942662
secondary
#5BBB87
accent
#E28D45
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D