#A42F6D#A42F6D
#A42F6D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.164 H 352.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #A42F6D |
|---|---|
| RGB | rgb(164, 47, 109) |
| HSL | hsl(328, 55%, 41%) |
| HSV | hsv(328, 71%, 64%) |
| CMYK | cmyk(0%, 71.3%, 33.5%, 35.7%) |
| CIE-LAB | lab(39.63, 53.00, -8.71) |
| CIE-LCH | lch(39.63, 53.71, 350.67°) |
| OKLab | oklab(50.12% 0.1621 -0.0225) |
| OKLCH | oklch(50.12% 0.164 352.1) |
| XYZ | xyz(19.0877, 11.0319, 15.5892) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 5.07
Red Violet
#9E0168
ΔE00 5.13
Magenta (survey)
#C20078
ΔE00 5.37
Dark Fuchsia
#9D0759
ΔE00 5.43
Violet Red
#A50055
ΔE00 6.07
Dark Magenta
#960056
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42F6D #2FA466
analogous
#A12FA4 #A42F6D #A42F33
triadic
#A42F6D #6DA42F #2F6DA4
tetradic
#A42F6D #A4A12F #2FA466 #2F33A4
square
#A42F6D #A4A12F #2FA466 #2F33A4
split-complementary
#A42F6D #33A42F #2FA4A1
monochromatic
#45142E #74214D #A42F6D #CA468C #D876AA
Accessibility & contrast
On white
6.55
#A42F6D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#A42F6D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42F6D
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42F6D | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42506F
Deuteranopia (green-blind)
#63656A
Tritanopia (blue-blind)
#B0274A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #a42f6d; /* rgb */ color: rgb(164, 47, 109); /* oklch */ color: oklch(50.1% 0.164 352.1);
Tailwind
colors: {
custom: {
50: '#c37196',
500: '#a42f6d',
950: '#000000',
},
}SCSS
$custom: #a42f6d; $custom-light: #c37196; $custom-dark: #000000;
JSON
{
"hex": "#a42f6d",
"rgb": {
"r": 164,
"g": 47,
"b": 109
},
"hsl": {
"h": 328.205,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.50118,
"c": 0.16361,
"h": 352.1
},
"luminance": 0.1103
}Semantic roles & 50–950 ramp
primary
#A42F6D
secondary
#6FC095
accent
#DF8F49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E