#A7255A#A7255A
#A7255A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.170 H 1.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A7255A |
|---|---|
| RGB | rgb(167, 37, 90) |
| HSL | hsl(336, 64%, 40%) |
| HSV | hsv(336, 78%, 65%) |
| CMYK | cmyk(0%, 77.8%, 46.1%, 34.5%) |
| CIE-LAB | lab(38.34, 55.26, 1.44) |
| CIE-LCH | lch(38.34, 55.28, 1.49°) |
| OKLab | oklab(49.06% 0.1696 0.0043) |
| OKLCH | oklch(49.06% 0.17 1.5) |
| XYZ | xyz(18.4449, 10.2793, 10.6837) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.12
Berry
#990F4B
ΔE00 4.38
Purplish Red
#B0054B
ΔE00 4.48
Dark Fuchsia
#9D0759
ΔE00 4.59
Deep Magenta
#A0025C
ΔE00 4.70
Raspberry (survey)
#B00149
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7255A #25A772
analogous
#A7259B #A7255A #A73125
triadic
#A7255A #5AA725 #255AA7
tetradic
#A7255A #9BA725 #25A772 #3125A7
square
#A7255A #9BA725 #25A772 #3125A7
split-complementary
#A7255A #25A731 #259BA7
monochromatic
#430F24 #751A3F #A7255A #D33776 #DE6998
Accessibility & contrast
On white
6.87
#A7255A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#A7255A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7255A
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7255A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7255A | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444A5B
Deuteranopia (green-blind)
#676357
Tritanopia (blue-blind)
#B6073C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a7255a; /* rgb */ color: rgb(167, 37, 90); /* oklch */ color: oklch(49.1% 0.170 1.5);
Tailwind
colors: {
custom: {
50: '#c76d88',
500: '#a7255a',
950: '#000000',
},
}SCSS
$custom: #a7255a; $custom-light: #c76d88; $custom-dark: #000000;
JSON
{
"hex": "#a7255a",
"rgb": {
"r": 167,
"g": 37,
"b": 90
},
"hsl": {
"h": 335.538,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.49064,
"c": 0.16966,
"h": 1.5
},
"luminance": 0.10277
}Semantic roles & 50–950 ramp
primary
#A7255A
secondary
#64C49D
accent
#E7A341
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C