#AF4758#AF4758
#AF4758 is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.0% C 0.136 H 12.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4758 |
|---|---|
| RGB | rgb(175, 71, 88) |
| HSL | hsl(350, 42%, 48%) |
| HSV | hsv(350, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 49.7%, 31.4%) |
| CIE-LAB | lab(44.70, 43.94, 11.92) |
| CIE-LCH | lch(44.70, 45.53, 15.18°) |
| OKLab | oklab(54.04% 0.1328 0.0304) |
| OKLCH | oklch(54.04% 0.136 12.9) |
| XYZ | xyz(21.6955, 14.3276, 10.8536) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 1.63
Light Maroon
#A24857
ΔE00 2.71
Light Burgundy
#A8415B
ΔE00 3.51
Dusty Red
#B9484E
ΔE00 4.85
Deep Rose
#C74767
ΔE00 5.57
Dark Pink
#CB416B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4758 #47AF9E
analogous
#AF478C #AF4758 #AF6A47
triadic
#AF4758 #58AF47 #4758AF
tetradic
#AF4758 #8CAF47 #47AF9E #6A47AF
square
#AF4758 #8CAF47 #47AF9E #6A47AF
split-complementary
#AF4758 #47AF6A #478CAF
monochromatic
#58242C #833542 #AF4758 #C46F7D #D69AA4
Accessibility & contrast
On white
5.43
#AF4758 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#AF4758 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4758
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4758 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4758 | 1.00 | 5.43 | 3.86 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5D58
Deuteranopia (green-blind)
#787256
Tritanopia (blue-blind)
#BE384E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af4758; /* rgb */ color: rgb(175, 71, 88); /* oklch */ color: oklch(54.0% 0.136 12.9);
Tailwind
colors: {
custom: {
50: '#cb7f87',
500: '#af4758',
950: '#000000',
},
}SCSS
$custom: #af4758; $custom-light: #cb7f87; $custom-dark: #000000;
JSON
{
"hex": "#af4758",
"rgb": {
"r": 175,
"g": 71,
"b": 88
},
"hsl": {
"h": 350.192,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.54037,
"c": 0.13625,
"h": 12.9
},
"luminance": 0.14325
}Semantic roles & 50–950 ramp
primary
#AF4758
secondary
#8FC2BA
accent
#D2BE56
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0B
muted
#837C7C