#942866#942866
#942866 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.156 H 349.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #942866 |
|---|---|
| RGB | rgb(148, 40, 102) |
| HSL | hsl(326, 57%, 37%) |
| HSV | hsv(326, 73%, 58%) |
| CMYK | cmyk(0%, 73%, 31.1%, 42%) |
| CIE-LAB | lab(35.55, 50.23, -10.74) |
| CIE-LCH | lch(35.55, 51.36, 347.93°) |
| OKLab | oklab(46.49% 0.1532 -0.028) |
| OKLCH | oklch(46.49% 0.156 349.6) |
| XYZ | xyz(15.3706, 8.7745, 13.4520) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.34
Deep Magenta
#A0025C
ΔE00 4.14
Dark Fuchsia
#9D0759
ΔE00 4.28
Dark Magenta
#960056
ΔE00 4.50
Reddish Purple
#910951
ΔE00 5.12
Mulberry
#920A4E
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942866 #289456
analogous
#8C2894 #942866 #942830
triadic
#942866 #669428 #286694
tetradic
#942866 #948C28 #289456 #283094
square
#942866 #948C28 #289456 #283094
split-complementary
#942866 #309428 #28948C
monochromatic
#340E24 #641B45 #942866 #C43587 #D562A4
Accessibility & contrast
On white
7.62
#942866 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#942866 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942866
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942866 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942866 | 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)
#384768
Deuteranopia (green-blind)
#585B64
Tritanopia (blue-blind)
#9F2243
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #942866; /* rgb */ color: rgb(148, 40, 102); /* oklch */ color: oklch(46.5% 0.156 349.6);
Tailwind
colors: {
custom: {
50: '#b76c91',
500: '#942866',
950: '#000000',
},
}SCSS
$custom: #942866; $custom-light: #b76c91; $custom-dark: #000000;
JSON
{
"hex": "#942866",
"rgb": {
"r": 148,
"g": 40,
"b": 102
},
"hsl": {
"h": 325.556,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.46494,
"c": 0.15575,
"h": 349.6
},
"luminance": 0.08773
}Semantic roles & 50–950 ramp
primary
#942866
secondary
#5EBA85
accent
#E18947
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D