#AF4256#AF4256
#AF4256 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.3% C 0.143 H 12.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4256 |
|---|---|
| RGB | rgb(175, 66, 86) |
| HSL | hsl(349, 45%, 47%) |
| HSV | hsv(349, 62%, 69%) |
| CMYK | cmyk(0%, 62.3%, 50.9%, 31.4%) |
| CIE-LAB | lab(43.78, 46.08, 11.87) |
| CIE-LCH | lch(43.78, 47.59, 14.45°) |
| OKLab | oklab(53.33% 0.1394 0.0302) |
| OKLCH | oklch(53.33% 0.143 12.2) |
| XYZ | xyz(21.3088, 13.6849, 10.3216) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.16
Light Maroon
#A24857
ΔE00 2.78
Light Burgundy
#A8415B
ΔE00 2.93
Dusty Red
#B9484E
ΔE00 5.38
Deep Rose
#C74767
ΔE00 5.87
Ruby
#CA0147
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4256 #42AF9B
analogous
#AF428C #AF4256 #AF6542
triadic
#AF4256 #56AF42 #4256AF
tetradic
#AF4256 #8CAF42 #42AF9B #6542AF
square
#AF4256 #8CAF42 #42AF9B #6542AF
split-complementary
#AF4256 #42AF65 #428CAF
monochromatic
#56202A #833140 #AF4256 #C66879 #D795A1
Accessibility & contrast
On white
5.62
#AF4256 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#AF4256 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4256
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4256 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4256 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5A56
Deuteranopia (green-blind)
#777053
Tritanopia (blue-blind)
#BE314A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #af4256; /* rgb */ color: rgb(175, 66, 86); /* oklch */ color: oklch(53.3% 0.143 12.2);
Tailwind
colors: {
custom: {
50: '#cc7c85',
500: '#af4256',
950: '#000000',
},
}SCSS
$custom: #af4256; $custom-light: #cc7c85; $custom-dark: #000000;
JSON
{
"hex": "#af4256",
"rgb": {
"r": 175,
"g": 66,
"b": 86
},
"hsl": {
"h": 348.991,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.53331,
"c": 0.14261,
"h": 12.2
},
"luminance": 0.13682
}Semantic roles & 50–950 ramp
primary
#AF4256
secondary
#8AC2B8
accent
#D5BD53
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0B
muted
#837C7C