#842760#842760
#842760 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.141 H 346.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #842760 |
|---|---|
| RGB | rgb(132, 39, 96) |
| HSL | hsl(323, 54%, 34%) |
| HSV | hsv(323, 70%, 52%) |
| CMYK | cmyk(0%, 70.5%, 27.3%, 48.2%) |
| CIE-LAB | lab(32.26, 45.24, -12.15) |
| CIE-LCH | lch(32.26, 46.84, 344.97°) |
| OKLab | oklab(43.46% 0.1371 -0.0321) |
| OKLCH | oklch(43.46% 0.141 346.8) |
| XYZ | xyz(12.3531, 7.2024, 11.8037) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.15
Velvet
#750851
ΔE00 5.34
Dark Magenta
#960056
ΔE00 5.36
Reddish Purple
#910951
ΔE00 5.52
Dark Fuchsia
#9D0759
ΔE00 6.06
Grape
#6C3461
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842760 #27844B
analogous
#792784 #842760 #842731
triadic
#842760 #608427 #276084
tetradic
#842760 #847927 #27844B #273184
square
#842760 #847927 #27844B #273184
split-complementary
#842760 #318427 #278479
monochromatic
#260B1B #55193E #842760 #B33582 #CE58A0
Accessibility & contrast
On white
8.61
#842760 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#842760 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842760
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842760 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842760 | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334262
Deuteranopia (green-blind)
#4E525E
Tritanopia (blue-blind)
#8D2440
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #842760; /* rgb */ color: rgb(132, 39, 96); /* oklch */ color: oklch(43.5% 0.141 346.8);
Tailwind
colors: {
custom: {
50: '#ab698d',
500: '#842760',
950: '#000000',
},
}SCSS
$custom: #842760; $custom-light: #ab698d; $custom-dark: #000000;
JSON
{
"hex": "#842760",
"rgb": {
"r": 132,
"g": 39,
"b": 96
},
"hsl": {
"h": 323.226,
"s": 54.386,
"l": 33.529
},
"oklch": {
"l": 0.43464,
"c": 0.14081,
"h": 346.8
},
"luminance": 0.07201
}Semantic roles & 50–950 ramp
primary
#842760
secondary
#54B279
accent
#DE834A
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10070C
muted
#7F7A7D