#942045#942045
#942045 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.152 H 7.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #942045 |
|---|---|
| RGB | rgb(148, 32, 69) |
| HSL | hsl(341, 64%, 35%) |
| HSV | hsv(341, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 53.4%, 42%) |
| CIE-LAB | lab(33.48, 49.55, 7.55) |
| CIE-LCH | lch(33.48, 50.12, 8.66°) |
| OKLab | oklab(44.62% 0.1511 0.0195) |
| OKLCH | oklch(44.62% 0.152 7.3) |
| XYZ | xyz(13.8047, 7.7605, 6.4001) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.97
Purple Red
#990147
ΔE00 2.98
Cranberry
#9E003A
ΔE00 3.88
Red Wine
#8C0034
ΔE00 4.34
Mulberry
#920A4E
ΔE00 5.03
Purplish Red
#B0054B
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942045 #20946F
analogous
#94207F #942045 #943520
triadic
#942045 #459420 #204594
tetradic
#942045 #7F9420 #20946F #352094
square
#942045 #7F9420 #20946F #352094
split-complementary
#942045 #209435 #207F94
monochromatic
#2F0A16 #62152E #942045 #C62B5C #DA547F
Accessibility & contrast
On white
8.23
#942045 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#942045 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942045
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942045 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942045 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4046
Deuteranopia (green-blind)
#5C5742
Tritanopia (blue-blind)
#A20030
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #942045; /* rgb */ color: rgb(148, 32, 69); /* oklch */ color: oklch(44.6% 0.152 7.3);
Tailwind
colors: {
custom: {
50: '#b96778',
500: '#942045',
950: '#000000',
},
}SCSS
$custom: #942045; $custom-light: #b96778; $custom-dark: #000000;
JSON
{
"hex": "#942045",
"rgb": {
"r": 148,
"g": 32,
"b": 69
},
"hsl": {
"h": 340.862,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.44623,
"c": 0.15231,
"h": 7.3
},
"luminance": 0.07759
}Semantic roles & 50–950 ramp
primary
#942045
secondary
#52BE9B
accent
#E7B240
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B