#AF274F#AF274F
#AF274F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.172 H 9.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF274F |
|---|---|
| RGB | rgb(175, 39, 79) |
| HSL | hsl(342, 64%, 42%) |
| HSV | hsv(342, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 54.9%, 31.4%) |
| CIE-LAB | lab(39.80, 55.96, 10.73) |
| CIE-LCH | lch(39.80, 56.98, 10.86°) |
| OKLab | oklab(50.32% 0.1701 0.0273) |
| OKLCH | oklch(50.32% 0.172 9.1) |
| XYZ | xyz(19.8179, 11.1323, 8.5008) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.73
Raspberry (survey)
#B00149
ΔE00 2.84
Light Burgundy
#A8415B
ΔE00 4.46
Rouge
#AB1239
ΔE00 5.42
Ruby
#CA0147
ΔE00 5.72
Cranberry
#9E003A
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF274F #27AF87
analogous
#AF2793 #AF274F #AF4327
triadic
#AF274F #4FAF27 #274FAF
tetradic
#AF274F #93AF27 #27AF87 #4327AF
square
#AF274F #93AF27 #27AF87 #4327AF
split-complementary
#AF274F #27AF43 #2793AF
monochromatic
#4B1122 #7D1C38 #AF274F #D43F6B #DF7191
Accessibility & contrast
On white
6.51
#AF274F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF274F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF274F
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF274F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF274F | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4C50
Deuteranopia (green-blind)
#6E684C
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af274f; /* rgb */ color: rgb(175, 39, 79); /* oklch */ color: oklch(50.3% 0.172 9.1);
Tailwind
colors: {
custom: {
50: '#cd6e80',
500: '#af274f',
950: '#000000',
},
}SCSS
$custom: #af274f; $custom-light: #cd6e80; $custom-dark: #000000;
JSON
{
"hex": "#af274f",
"rgb": {
"r": 175,
"g": 39,
"b": 79
},
"hsl": {
"h": 342.353,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50322,
"c": 0.17225,
"h": 9.1
},
"luminance": 0.1113
}Semantic roles & 50–950 ramp
primary
#AF274F
secondary
#6BC6AC
accent
#E7B641
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C