#AF233A#AF233A
#AF233A is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.174 H 18.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AF233A |
|---|---|
| RGB | rgb(175, 35, 58) |
| HSL | hsl(350, 67%, 41%) |
| HSV | hsv(350, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 66.9%, 31.4%) |
| CIE-LAB | lab(38.94, 55.78, 22.87) |
| CIE-LCH | lch(38.94, 60.28, 22.29°) |
| OKLab | oklab(49.54% 0.1656 0.0542) |
| OKLCH | oklch(49.54% 0.174 18.1) |
| XYZ | xyz(19.0461, 10.6245, 5.0500) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.60
Rose Red
#BE013C
ΔE00 2.97
Lipstick Red
#C0022F
ΔE00 4.15
Cardinal
#C41E3A
ΔE00 4.23
Ruby
#CA0147
ΔE00 5.59
Brown
#A52A2A
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF233A #23AF98
analogous
#AF2380 #AF233A #AF5223
triadic
#AF233A #3AAF23 #233AAF
tetradic
#AF233A #80AF23 #23AF98 #5223AF
square
#AF233A #80AF23 #23AF98 #5223AF
split-complementary
#AF233A #23AF52 #2380AF
monochromatic
#490F18 #7C1929 #AF233A #D73852 #E16B7E
Accessibility & contrast
On white
6.72
#AF233A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF233A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF233A
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF233A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF233A | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D493A
Deuteranopia (green-blind)
#706636
Tritanopia (blue-blind)
#C0002D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af233a; /* rgb */ color: rgb(175, 35, 58); /* oklch */ color: oklch(49.5% 0.174 18.1);
Tailwind
colors: {
custom: {
50: '#cf6c70',
500: '#af233a',
950: '#000000',
},
}SCSS
$custom: #af233a; $custom-light: #cf6c70; $custom-dark: #000000;
JSON
{
"hex": "#af233a",
"rgb": {
"r": 175,
"g": 35,
"b": 58
},
"hsl": {
"h": 350.143,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.49543,
"c": 0.17427,
"h": 18.1
},
"luminance": 0.10622
}Semantic roles & 50–950 ramp
primary
#AF233A
secondary
#66C7B8
accent
#EACD3E
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A