#A42F5B#A42F5B
#A42F5B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.5% C 0.156 H 1.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A42F5B |
|---|---|
| RGB | rgb(164, 47, 91) |
| HSL | hsl(337, 55%, 41%) |
| HSV | hsv(337, 71%, 64%) |
| CMYK | cmyk(0%, 71.3%, 44.5%, 35.7%) |
| CIE-LAB | lab(39.04, 51.03, 1.76) |
| CIE-LCH | lch(39.04, 51.06, 1.97°) |
| OKLab | oklab(49.49% 0.1563 0.0051) |
| OKLCH | oklch(49.49% 0.156 1.9) |
| XYZ | xyz(18.2161, 10.6832, 10.9983) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.38
Light Burgundy
#A8415B
ΔE00 4.73
Purplish Red
#B0054B
ΔE00 5.11
Berry
#990F4B
ΔE00 5.12
Raspberry (survey)
#B00149
ΔE00 5.54
Dark Fuchsia
#9D0759
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42F5B #2FA478
analogous
#A42F96 #A42F5B #A43E2F
triadic
#A42F5B #5BA42F #2F5BA4
tetradic
#A42F5B #96A42F #2FA478 #3E2FA4
square
#A42F5B #96A42F #2FA478 #3E2FA4
split-complementary
#A42F5B #2FA43E #2F96A4
monochromatic
#451426 #742141 #A42F5B #CA4678 #D8769B
Accessibility & contrast
On white
6.70
#A42F5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#A42F5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42F5B
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42F5B | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484E5C
Deuteranopia (green-blind)
#676458
Tritanopia (blue-blind)
#B21E41
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a42f5b; /* rgb */ color: rgb(164, 47, 91); /* oklch */ color: oklch(49.5% 0.156 1.9);
Tailwind
colors: {
custom: {
50: '#c47189',
500: '#a42f5b',
950: '#000000',
},
}SCSS
$custom: #a42f5b; $custom-light: #c47189; $custom-dark: #000000;
JSON
{
"hex": "#a42f5b",
"rgb": {
"r": 164,
"g": 47,
"b": 91
},
"hsl": {
"h": 337.436,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.49488,
"c": 0.15635,
"h": 1.9
},
"luminance": 0.10681
}Semantic roles & 50–950 ramp
primary
#A42F5B
secondary
#6FC0A1
accent
#DFA649
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080B
muted
#827B7C