#A8335C#A8335C
#A8335C is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.6% C 0.156 H 3.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A8335C |
|---|---|
| RGB | rgb(168, 51, 92) |
| HSL | hsl(339, 53%, 43%) |
| HSV | hsv(339, 70%, 66%) |
| CMYK | cmyk(0%, 69.6%, 45.2%, 34.1%) |
| CIE-LAB | lab(40.36, 50.79, 3.12) |
| CIE-LCH | lch(40.36, 50.89, 3.51°) |
| OKLab | oklab(50.61% 0.1553 0.0086) |
| OKLCH | oklch(50.61% 0.156 3.2) |
| XYZ | xyz(19.2655, 11.4676, 11.3221) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.56
Purplish Red
#B0054B
ΔE00 5.10
Violet Red
#A50055
ΔE00 5.46
Raspberry (survey)
#B00149
ΔE00 5.51
Deep Pink
#CB0162
ΔE00 6.17
Light Maroon
#A24857
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8335C #33A87F
analogous
#A83397 #A8335C #A84433
triadic
#A8335C #5CA833 #335CA8
tetradic
#A8335C #97A833 #33A87F #4433A8
square
#A8335C #97A833 #33A87F #4433A8
split-complementary
#A8335C #33A844 #3397A8
monochromatic
#4A1629 #792542 #A8335C #C94F7A #D87E9D
Accessibility & contrast
On white
6.38
#A8335C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#A8335C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A8335C
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8335C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8335C | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C515D
Deuteranopia (green-blind)
#6B6759
Tritanopia (blue-blind)
#B62244
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a8335c; /* rgb */ color: rgb(168, 51, 92); /* oklch */ color: oklch(50.6% 0.156 3.2);
Tailwind
colors: {
custom: {
50: '#c7738a',
500: '#a8335c',
950: '#000000',
},
}SCSS
$custom: #a8335c; $custom-light: #c7738a; $custom-dark: #000000;
JSON
{
"hex": "#a8335c",
"rgb": {
"r": 168,
"g": 51,
"b": 92
},
"hsl": {
"h": 338.974,
"s": 53.425,
"l": 42.941
},
"oklch": {
"l": 0.50605,
"c": 0.15558,
"h": 3.2
},
"luminance": 0.11465
}Semantic roles & 50–950 ramp
primary
#A8335C
secondary
#76C1A7
accent
#DDAA4B
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090B
muted
#827B7C