#AF1F46#AF1F46
#AF1F46 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.178 H 12.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AF1F46 |
|---|---|
| RGB | rgb(175, 31, 70) |
| HSL | hsl(344, 70%, 40%) |
| HSV | hsv(344, 82%, 69%) |
| CMYK | cmyk(0%, 82.3%, 60%, 31.4%) |
| CIE-LAB | lab(38.79, 57.59, 15.07) |
| CIE-LCH | lch(38.79, 59.53, 14.67°) |
| OKLab | oklab(49.51% 0.1739 0.0373) |
| OKLCH | oklch(49.51% 0.178 12.1) |
| XYZ | xyz(19.2767, 10.5390, 6.8124) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.96
Rouge
#AB1239
ΔE00 3.18
Purplish Red
#B0054B
ΔE00 3.23
Rose Red
#BE013C
ΔE00 4.10
Cranberry
#9E003A
ΔE00 4.76
Ruby
#CA0147
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF1F46 #1FAF88
analogous
#AF1F8E #AF1F46 #AF401F
triadic
#AF1F46 #46AF1F #1F46AF
tetradic
#AF1F46 #8EAF1F #1FAF88 #401FAF
square
#AF1F46 #8EAF1F #1FAF88 #401FAF
split-complementary
#AF1F46 #1FAF40 #1F8EAF
monochromatic
#470D1C #7B1631 #AF1F46 #DA315F #E46587
Accessibility & contrast
On white
6.76
#AF1F46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AF1F46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF1F46
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF1F46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF1F46 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494946
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af1f46; /* rgb */ color: rgb(175, 31, 70); /* oklch */ color: oklch(49.5% 0.178 12.1);
Tailwind
colors: {
custom: {
50: '#ce6b79',
500: '#af1f46',
950: '#000000',
},
}SCSS
$custom: #af1f46; $custom-light: #ce6b79; $custom-dark: #000000;
JSON
{
"hex": "#af1f46",
"rgb": {
"r": 175,
"g": 31,
"b": 70
},
"hsl": {
"h": 343.75,
"s": 69.903,
"l": 40.392
},
"oklch": {
"l": 0.49511,
"c": 0.17784,
"h": 12.1
},
"luminance": 0.10536
}Semantic roles & 50–950 ramp
primary
#AF1F46
secondary
#61C9AD
accent
#EDBD3B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B