#A2274F#A2274F
#A2274F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.160 H 6.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A2274F |
|---|---|
| RGB | rgb(162, 39, 79) |
| HSL | hsl(340, 61%, 39%) |
| HSV | hsv(340, 76%, 64%) |
| CMYK | cmyk(0%, 75.9%, 51.2%, 36.5%) |
| CIE-LAB | lab(37.30, 52.20, 6.85) |
| CIE-LCH | lch(37.30, 52.64, 7.48°) |
| OKLab | oklab(48.02% 0.1593 0.0179) |
| OKLCH | oklch(48.02% 0.16 6.4) |
| XYZ | xyz(17.0386, 9.6993, 8.3706) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.13
Raspberry (survey)
#B00149
ΔE00 3.39
Berry
#990F4B
ΔE00 4.00
Purple Red
#990147
ΔE00 4.47
Violet Red
#A50055
ΔE00 4.57
Cranberry
#9E003A
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2274F #27A27A
analogous
#A2278D #A2274F #A23D27
triadic
#A2274F #4FA227 #274FA2
tetradic
#A2274F #8DA227 #27A27A #3D27A2
square
#A2274F #8DA227 #27A27A #3D27A2
split-complementary
#A2274F #27A23D #278DA2
monochromatic
#3F0F1F #711B37 #A2274F #CF3769 #DB698E
Accessibility & contrast
On white
7.14
#A2274F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A2274F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A2274F
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2274F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2274F | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454850
Deuteranopia (green-blind)
#66614C
Tritanopia (blue-blind)
#B10738
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a2274f; /* rgb */ color: rgb(162, 39, 79); /* oklch */ color: oklch(48.0% 0.160 6.4);
Tailwind
colors: {
custom: {
50: '#c36c80',
500: '#a2274f',
950: '#000000',
},
}SCSS
$custom: #a2274f; $custom-light: #c36c80; $custom-dark: #000000;
JSON
{
"hex": "#a2274f",
"rgb": {
"r": 162,
"g": 39,
"b": 79
},
"hsl": {
"h": 340.488,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.4802,
"c": 0.16031,
"h": 6.4
},
"luminance": 0.09697
}Semantic roles & 50–950 ramp
primary
#A2274F
secondary
#64C1A3
accent
#E4B043
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C