#A7255D#A7255D
#A7255D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.171 H 359.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A7255D |
|---|---|
| RGB | rgb(167, 37, 93) |
| HSL | hsl(334, 64%, 40%) |
| HSV | hsv(334, 78%, 65%) |
| CMYK | cmyk(0%, 77.8%, 44.3%, 34.5%) |
| CIE-LAB | lab(38.43, 55.54, -0.33) |
| CIE-LCH | lch(38.43, 55.54, 359.66°) |
| OKLab | oklab(49.16% 0.1706 -0.0002) |
| OKLCH | oklch(49.16% 0.171 359.9) |
| XYZ | xyz(18.5752, 10.3314, 11.3698) |
| Luminance | 0.1033 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.09
Dark Fuchsia
#9D0759
ΔE00 4.19
Deep Magenta
#A0025C
ΔE00 4.20
Berry
#990F4B
ΔE00 4.70
Purplish Red
#B0054B
ΔE00 5.23
Purple Red
#990147
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7255D #25A76F
analogous
#A7259E #A7255D #A72E25
triadic
#A7255D #5DA725 #255DA7
tetradic
#A7255D #9EA725 #25A76F #2E25A7
square
#A7255D #9EA725 #25A76F #2E25A7
split-complementary
#A7255D #25A72E #259EA7
monochromatic
#430F25 #751A41 #A7255D #D3377A #DE699B
Accessibility & contrast
On white
6.85
#A7255D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#A7255D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7255D
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7255D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7255D | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434B5E
Deuteranopia (green-blind)
#66635A
Tritanopia (blue-blind)
#B50A3E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a7255d; /* rgb */ color: rgb(167, 37, 93); /* oklch */ color: oklch(49.2% 0.171 359.9);
Tailwind
colors: {
custom: {
50: '#c66d8a',
500: '#a7255d',
950: '#000000',
},
}SCSS
$custom: #a7255d; $custom-light: #c66d8a; $custom-dark: #000000;
JSON
{
"hex": "#a7255d",
"rgb": {
"r": 167,
"g": 37,
"b": 93
},
"hsl": {
"h": 334.154,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.49161,
"c": 0.17063,
"h": 359.9
},
"luminance": 0.10329
}Semantic roles & 50–950 ramp
primary
#A7255D
secondary
#64C49B
accent
#E79F41
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C