#AF2530#AF2530
#AF2530 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.173 H 22.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2530 |
|---|---|
| RGB | rgb(175, 37, 48) |
| HSL | hsl(355, 65%, 42%) |
| HSV | hsv(355, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 72.6%, 31.4%) |
| CIE-LAB | lab(38.99, 54.69, 29.12) |
| CIE-LCH | lch(38.99, 61.96, 28.03°) |
| OKLab | oklab(49.53% 0.1599 0.0665) |
| OKLCH | oklch(49.53% 0.173 22.6) |
| XYZ | xyz(18.8765, 10.6535, 3.8581) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.67
Lipstick Red
#C0022F
ΔE00 3.18
Firebrick
#B22222
ΔE00 4.02
Cardinal
#C41E3A
ΔE00 4.41
Rose Red
#BE013C
ΔE00 5.43
Rouge
#AB1239
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2530 #25AFA4
analogous
#AF2575 #AF2530 #AF5F25
triadic
#AF2530 #30AF25 #2530AF
tetradic
#AF2530 #75AF25 #25AFA4 #5F25AF
square
#AF2530 #75AF25 #25AFA4 #5F25AF
split-complementary
#AF2530 #25AF5F #2575AF
monochromatic
#4A1014 #7C1A22 #AF2530 #D63C48 #E06E77
Accessibility & contrast
On white
6.71
#AF2530 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AF2530 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2530
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2530 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2530 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F492F
Deuteranopia (green-blind)
#71662B
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2530; /* rgb */ color: rgb(175, 37, 48); /* oklch */ color: oklch(49.5% 0.173 22.6);
Tailwind
colors: {
custom: {
50: '#cf6d68',
500: '#af2530',
950: '#000000',
},
}SCSS
$custom: #af2530; $custom-light: #cf6d68; $custom-dark: #000000;
JSON
{
"hex": "#af2530",
"rgb": {
"r": 175,
"g": 37,
"b": 48
},
"hsl": {
"h": 355.217,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.49529,
"c": 0.1732,
"h": 22.6
},
"luminance": 0.1065
}Semantic roles & 50–950 ramp
primary
#AF2530
secondary
#69C7BF
accent
#E8DB40
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A