#AF3246#AF3246
#AF3246 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.161 H 15.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3246 |
|---|---|
| RGB | rgb(175, 50, 70) |
| HSL | hsl(350, 56%, 44%) |
| HSV | hsv(350, 71%, 69%) |
| CMYK | cmyk(0%, 71.4%, 60%, 31.4%) |
| CIE-LAB | lab(40.96, 51.51, 17.98) |
| CIE-LCH | lch(40.96, 54.56, 19.24°) |
| OKLab | oklab(51.12% 0.1543 0.0441) |
| OKLCH | oklch(51.12% 0.161 15.9) |
| XYZ | xyz(19.9272, 11.8402, 7.0292) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 4.09
Rouge
#AB1239
ΔE00 4.21
Ruby
#CA0147
ΔE00 5.04
Cardinal
#C41E3A
ΔE00 5.09
Light Maroon
#A24857
ΔE00 5.60
Dusty Red
#B9484E
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3246 #32AF9B
analogous
#AF3285 #AF3246 #AF5D32
triadic
#AF3246 #46AF32 #3246AF
tetradic
#AF3246 #85AF32 #32AF9B #5D32AF
square
#AF3246 #85AF32 #32AF9B #5D32AF
split-complementary
#AF3246 #32AF5D #3285AF
monochromatic
#501720 #7F2433 #AF3246 #CD5165 #DB818F
Accessibility & contrast
On white
6.24
#AF3246 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AF3246 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3246
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3246 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3246 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535046
Deuteranopia (green-blind)
#736A43
Tritanopia (blue-blind)
#C0103A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af3246; /* rgb */ color: rgb(175, 50, 70); /* oklch */ color: oklch(51.1% 0.161 15.9);
Tailwind
colors: {
custom: {
50: '#cd7379',
500: '#af3246',
950: '#000000',
},
}SCSS
$custom: #af3246; $custom-light: #cd7379; $custom-dark: #000000;
JSON
{
"hex": "#af3246",
"rgb": {
"r": 175,
"g": 50,
"b": 70
},
"hsl": {
"h": 350.4,
"s": 55.556,
"l": 44.118
},
"oklch": {
"l": 0.51115,
"c": 0.16051,
"h": 15.9
},
"luminance": 0.11837
}Semantic roles & 50–950 ramp
primary
#AF3246
secondary
#79C4B8
accent
#DFC749
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150909
muted
#837B7B