#AF4962#AF4962
#AF4962 is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.6% C 0.135 H 7.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4962 |
|---|---|
| RGB | rgb(175, 73, 98) |
| HSL | hsl(345, 41%, 49%) |
| HSV | hsv(345, 58%, 69%) |
| CMYK | cmyk(0%, 58.3%, 44%, 31.4%) |
| CIE-LAB | lab(45.31, 43.98, 6.64) |
| CIE-LCH | lch(45.31, 44.47, 8.59°) |
| OKLab | oklab(54.58% 0.1337 0.0175) |
| OKLCH | oklch(54.58% 0.135 7.5) |
| XYZ | xyz(22.2678, 14.7634, 13.2299) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.35
Light Burgundy
#A8415B
ΔE00 2.58
Light Maroon
#A24857
ΔE00 3.64
Deep Rose
#C74767
ΔE00 4.78
Dark Pink
#CB416B
ΔE00 5.43
Dusty Red
#B9484E
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4962 #49AF96
analogous
#AF4995 #AF4962 #AF6349
triadic
#AF4962 #62AF49 #4962AF
tetradic
#AF4962 #95AF49 #49AF96 #6349AF
square
#AF4962 #95AF49 #49AF96 #6349AF
split-complementary
#AF4962 #49AF63 #4995AF
monochromatic
#592532 #84374A #AF4962 #C47186 #D69CAB
Accessibility & contrast
On white
5.31
#AF4962 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#AF4962 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4962
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4962 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4962 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5F63
Deuteranopia (green-blind)
#787360
Tritanopia (blue-blind)
#BD3D52
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af4962; /* rgb */ color: rgb(175, 73, 98); /* oklch */ color: oklch(54.6% 0.135 7.5);
Tailwind
colors: {
custom: {
50: '#cb808e',
500: '#af4962',
950: '#000000',
},
}SCSS
$custom: #af4962; $custom-light: #cb808e; $custom-dark: #000000;
JSON
{
"hex": "#af4962",
"rgb": {
"r": 175,
"g": 73,
"b": 98
},
"hsl": {
"h": 345.294,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.54575,
"c": 0.13485,
"h": 7.5
},
"luminance": 0.14761
}Semantic roles & 50–950 ramp
primary
#AF4962
secondary
#91C2B6
accent
#D1B357
background
#FDF8F8
surface
#FAEFF0
border
#D3CACB
text
#140A0C
muted
#837C7D