#AF264E#AF264E
#AF264E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.173 H 9.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF264E |
|---|---|
| RGB | rgb(175, 38, 78) |
| HSL | hsl(342, 64%, 42%) |
| HSV | hsv(342, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 55.4%, 31.4%) |
| CIE-LAB | lab(39.67, 56.19, 11.18) |
| CIE-LCH | lch(39.67, 57.29, 11.25°) |
| OKLab | oklab(50.22% 0.1707 0.0283) |
| OKLCH | oklch(50.22% 0.173 9.4) |
| XYZ | xyz(19.7494, 11.0531, 8.2998) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.66
Raspberry (survey)
#B00149
ΔE00 2.74
Light Burgundy
#A8415B
ΔE00 4.64
Rouge
#AB1239
ΔE00 5.18
Ruby
#CA0147
ΔE00 5.61
Cranberry
#9E003A
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF264E #26AF87
analogous
#AF2693 #AF264E #AF4326
triadic
#AF264E #4EAF26 #264EAF
tetradic
#AF264E #93AF26 #26AF87 #4326AF
square
#AF264E #93AF26 #26AF87 #4326AF
split-complementary
#AF264E #26AF43 #2693AF
monochromatic
#4A1021 #7D1B38 #AF264E #D53D6A #E07090
Accessibility & contrast
On white
6.54
#AF264E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF264E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF264E
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF264E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF264E | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4C4F
Deuteranopia (green-blind)
#6E674B
Tritanopia (blue-blind)
#BF0037
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af264e; /* rgb */ color: rgb(175, 38, 78); /* oklch */ color: oklch(50.2% 0.173 9.4);
Tailwind
colors: {
custom: {
50: '#cd6e7f',
500: '#af264e',
950: '#000000',
},
}SCSS
$custom: #af264e; $custom-light: #cd6e7f; $custom-dark: #000000;
JSON
{
"hex": "#af264e",
"rgb": {
"r": 175,
"g": 38,
"b": 78
},
"hsl": {
"h": 342.482,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.50217,
"c": 0.17302,
"h": 9.4
},
"luminance": 0.1105
}Semantic roles & 50–950 ramp
primary
#AF264E
secondary
#6AC7AC
accent
#E7B740
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C