#AF272C#AF272C
#AF272C is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.172 H 24.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AF272C |
|---|---|
| RGB | rgb(175, 39, 44) |
| HSL | hsl(358, 64%, 42%) |
| HSV | hsv(358, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 74.9%, 31.4%) |
| CIE-LAB | lab(39.16, 53.90, 31.72) |
| CIE-LCH | lch(39.16, 62.54, 30.48°) |
| OKLab | oklab(49.64% 0.1565 0.0713) |
| OKLCH | oklch(49.64% 0.172 24.5) |
| XYZ | xyz(18.8615, 10.7498, 3.4642) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.92
Firebrick
#B22222
ΔE00 2.56
Lipstick Red
#C0022F
ΔE00 3.89
Scarlet
#BE0119
ΔE00 4.50
Cardinal
#C41E3A
ΔE00 5.24
Dull Red
#BB3F3F
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF272C #27AFAA
analogous
#AF2770 #AF272C #AF6627
triadic
#AF272C #2CAF27 #272CAF
tetradic
#AF272C #70AF27 #27AFAA #6627AF
square
#AF272C #70AF27 #27AFAA #6627AF
split-complementary
#AF272C #27AF66 #2770AF
monochromatic
#4B1113 #7D1C1F #AF272C #D43F44 #DF7175
Accessibility & contrast
On white
6.67
#AF272C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AF272C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF272C
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF272C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF272C | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51492B
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af272c; /* rgb */ color: rgb(175, 39, 44); /* oklch */ color: oklch(49.6% 0.172 24.5);
Tailwind
colors: {
custom: {
50: '#d06e65',
500: '#af272c',
950: '#000000',
},
}SCSS
$custom: #af272c; $custom-light: #d06e65; $custom-dark: #000000;
JSON
{
"hex": "#af272c",
"rgb": {
"r": 175,
"g": 39,
"b": 44
},
"hsl": {
"h": 357.794,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.49635,
"c": 0.17199,
"h": 24.5
},
"luminance": 0.10747
}Semantic roles & 50–950 ramp
primary
#AF272C
secondary
#6BC6C3
accent
#E7E041
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#160805
muted
#847B7A