#AF4052#AF4052
#AF4052 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.0% C 0.145 H 13.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4052 |
|---|---|
| RGB | rgb(175, 64, 82) |
| HSL | hsl(350, 46%, 47%) |
| HSV | hsv(350, 63%, 69%) |
| CMYK | cmyk(0%, 63.4%, 53.1%, 31.4%) |
| CIE-LAB | lab(43.35, 46.64, 13.75) |
| CIE-LCH | lch(43.35, 48.62, 16.43°) |
| OKLab | oklab(52.98% 0.1406 0.0347) |
| OKLCH | oklch(52.98% 0.145 13.8) |
| XYZ | xyz(21.0374, 13.3926, 9.4582) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.95
Light Maroon
#A24857
ΔE00 3.20
Light Burgundy
#A8415B
ΔE00 3.77
Dusty Red
#B9484E
ΔE00 4.75
Ruby
#CA0147
ΔE00 6.33
Deep Rose
#C74767
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4052 #40AF9D
analogous
#AF408A #AF4052 #AF6540
triadic
#AF4052 #52AF40 #4052AF
tetradic
#AF4052 #8AAF40 #40AF9D #6540AF
square
#AF4052 #8AAF40 #40AF9D #6540AF
split-complementary
#AF4052 #40AF65 #408AAF
monochromatic
#551F28 #82303D #AF4052 #C76575 #D7929D
Accessibility & contrast
On white
5.71
#AF4052 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#AF4052 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4052
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4052 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4052 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5852
Deuteranopia (green-blind)
#766F4F
Tritanopia (blue-blind)
#BF2D47
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #af4052; /* rgb */ color: rgb(175, 64, 82); /* oklch */ color: oklch(53.0% 0.145 13.8);
Tailwind
colors: {
custom: {
50: '#cc7a82',
500: '#af4052',
950: '#000000',
},
}SCSS
$custom: #af4052; $custom-light: #cc7a82; $custom-dark: #000000;
JSON
{
"hex": "#af4052",
"rgb": {
"r": 175,
"g": 64,
"b": 82
},
"hsl": {
"h": 350.27,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.5298,
"c": 0.14485,
"h": 13.8
},
"luminance": 0.1339
}Semantic roles & 50–950 ramp
primary
#AF4052
secondary
#88C3B9
accent
#D6C152
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C