#A7234E#A7234E
#A7234E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.169 H 7.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A7234E |
|---|---|
| RGB | rgb(167, 35, 78) |
| HSL | hsl(340, 65%, 40%) |
| HSV | hsv(340, 79%, 65%) |
| CMYK | cmyk(0%, 79%, 53.3%, 34.5%) |
| CIE-LAB | lab(37.79, 54.83, 8.32) |
| CIE-LCH | lch(37.79, 55.45, 8.63°) |
| OKLab | oklab(48.55% 0.1672 0.0214) |
| OKLCH | oklch(48.55% 0.169 7.3) |
| XYZ | xyz(17.9142, 9.9702, 8.1874) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.21
Raspberry (survey)
#B00149
ΔE00 2.45
Berry
#990F4B
ΔE00 4.56
Purple Red
#990147
ΔE00 4.87
Violet Red
#A50055
ΔE00 4.88
Cranberry
#9E003A
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7234E #23A77C
analogous
#A72390 #A7234E #A73A23
triadic
#A7234E #4EA723 #234EA7
tetradic
#A7234E #90A723 #23A77C #3A23A7
square
#A7234E #90A723 #23A77C #3A23A7
split-complementary
#A7234E #23A73A #2390A7
monochromatic
#420E1F #741836 #A7234E #D43367 #DF668D
Accessibility & contrast
On white
7.01
#A7234E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#A7234E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7234E
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7234E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7234E | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46484F
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#B60036
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a7234e; /* rgb */ color: rgb(167, 35, 78); /* oklch */ color: oklch(48.5% 0.169 7.3);
Tailwind
colors: {
custom: {
50: '#c76c7f',
500: '#a7234e',
950: '#000000',
},
}SCSS
$custom: #a7234e; $custom-light: #c76c7f; $custom-dark: #000000;
JSON
{
"hex": "#a7234e",
"rgb": {
"r": 167,
"g": 35,
"b": 78
},
"hsl": {
"h": 340.455,
"s": 65.347,
"l": 39.608
},
"oklch": {
"l": 0.4855,
"c": 0.16853,
"h": 7.3
},
"luminance": 0.09968
}Semantic roles & 50–950 ramp
primary
#A7234E
secondary
#61C4A4
accent
#E8B13F
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C