#942962#942962
#942962 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.152 H 352.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #942962 |
|---|---|
| RGB | rgb(148, 41, 98) |
| HSL | hsl(328, 57%, 37%) |
| HSV | hsv(328, 72%, 58%) |
| CMYK | cmyk(0%, 72.3%, 33.8%, 42%) |
| CIE-LAB | lab(35.53, 49.36, -8.21) |
| CIE-LCH | lch(35.53, 50.04, 350.55°) |
| OKLab | oklab(46.43% 0.1509 -0.0212) |
| OKLCH | oklch(46.43% 0.152 352) |
| XYZ | xyz(15.2111, 8.7654, 12.4437) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 3.69
Deep Magenta
#A0025C
ΔE00 3.71
Red Violet
#9E0168
ΔE00 3.92
Dark Magenta
#960056
ΔE00 4.06
Reddish Purple
#910951
ΔE00 4.48
Mulberry
#920A4E
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942962 #29945B
analogous
#912994 #942962 #94292D
triadic
#942962 #629429 #296294
tetradic
#942962 #949129 #29945B #292D94
square
#942962 #949129 #29945B #292D94
split-complementary
#942962 #2D9429 #299491
monochromatic
#340E23 #641C42 #942962 #C43682 #D4639F
Accessibility & contrast
On white
7.63
#942962 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#942962 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942962
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942962 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942962 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4764
Deuteranopia (green-blind)
#595B60
Tritanopia (blue-blind)
#9F2142
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #942962; /* rgb */ color: rgb(148, 41, 98); /* oklch */ color: oklch(46.4% 0.152 352.0);
Tailwind
colors: {
custom: {
50: '#b76c8e',
500: '#942962',
950: '#000000',
},
}SCSS
$custom: #942962; $custom-light: #b76c8e; $custom-dark: #000000;
JSON
{
"hex": "#942962",
"rgb": {
"r": 148,
"g": 41,
"b": 98
},
"hsl": {
"h": 328.037,
"s": 56.614,
"l": 37.059
},
"oklch": {
"l": 0.46431,
"c": 0.15241,
"h": 352
},
"luminance": 0.08764
}Semantic roles & 50–950 ramp
primary
#942962
secondary
#5FBA89
accent
#E08F48
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D