#842273#842273
#842273 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.160 H 335.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #842273 |
|---|---|
| RGB | rgb(132, 34, 115) |
| HSL | hsl(310, 59%, 33%) |
| HSV | hsv(310, 74%, 52%) |
| CMYK | cmyk(0%, 74.2%, 12.9%, 48.2%) |
| CIE-LAB | lab(32.46, 49.96, -24.00) |
| CIE-LCH | lch(32.46, 55.42, 334.34°) |
| OKLab | oklab(43.89% 0.1463 -0.0654) |
| OKLCH | oklch(43.89% 0.16 335.9) |
| XYZ | xyz(13.1825, 7.2886, 16.9289) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.04
Purple
#800080
ΔE00 5.17
Darkmagenta
#8B008B
ΔE00 5.56
Warm Purple
#952E8F
ΔE00 5.81
Rich Purple
#720058
ΔE00 6.40
Bruise
#7E4071
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842273 #228433
analogous
#642284 #842273 #842242
triadic
#842273 #738422 #227384
tetradic
#842273 #846422 #228433 #224284
square
#842273 #846422 #228433 #224284
split-complementary
#842273 #428422 #228464
monochromatic
#23091E #531549 #842273 #B52F9D #D24FBB
Accessibility & contrast
On white
8.55
#842273 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#842273 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842273
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842273 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842273 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234375
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#8B2948
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #842273; /* rgb */ color: rgb(132, 34, 115); /* oklch */ color: oklch(43.9% 0.160 335.9);
Tailwind
colors: {
custom: {
50: '#ab679b',
500: '#842273',
950: '#000000',
},
}SCSS
$custom: #842273; $custom-light: #ab679b; $custom-dark: #000000;
JSON
{
"hex": "#842273",
"rgb": {
"r": 132,
"g": 34,
"b": 115
},
"hsl": {
"h": 310.408,
"s": 59.036,
"l": 32.549
},
"oklch": {
"l": 0.43889,
"c": 0.16029,
"h": 335.9
},
"luminance": 0.07287
}Semantic roles & 50–950 ramp
primary
#842273
secondary
#4DB55F
accent
#E26146
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E