#AF274B#AF274B
#AF274B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.172 H 11.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AF274B |
|---|---|
| RGB | rgb(175, 39, 75) |
| HSL | hsl(344, 64%, 42%) |
| HSV | hsv(344, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 57.1%, 31.4%) |
| CIE-LAB | lab(39.71, 55.66, 13.14) |
| CIE-LCH | lch(39.71, 57.19, 13.28°) |
| OKLab | oklab(50.22% 0.1685 0.0329) |
| OKLCH | oklch(50.22% 0.172 11.1) |
| XYZ | xyz(19.6766, 11.0759, 7.7570) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.18
Purplish Red
#B0054B
ΔE00 3.26
Rouge
#AB1239
ΔE00 4.36
Rose Red
#BE013C
ΔE00 4.93
Light Burgundy
#A8415B
ΔE00 4.93
Ruby
#CA0147
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF274B #27AF8B
analogous
#AF278F #AF274B #AF4727
triadic
#AF274B #4BAF27 #274BAF
tetradic
#AF274B #8FAF27 #27AF8B #4727AF
square
#AF274B #8FAF27 #27AF8B #4727AF
split-complementary
#AF274B #27AF47 #278FAF
monochromatic
#4B1120 #7D1C36 #AF274B #D43F66 #DF718E
Accessibility & contrast
On white
6.53
#AF274B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF274B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF274B
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF274B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF274B | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4C4C
Deuteranopia (green-blind)
#6F6848
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af274b; /* rgb */ color: rgb(175, 39, 75); /* oklch */ color: oklch(50.2% 0.172 11.1);
Tailwind
colors: {
custom: {
50: '#ce6e7d',
500: '#af274b',
950: '#000000',
},
}SCSS
$custom: #af274b; $custom-light: #ce6e7d; $custom-dark: #000000;
JSON
{
"hex": "#af274b",
"rgb": {
"r": 175,
"g": 39,
"b": 75
},
"hsl": {
"h": 344.118,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50222,
"c": 0.17171,
"h": 11.1
},
"luminance": 0.11073
}Semantic roles & 50–950 ramp
primary
#AF274B
secondary
#6BC6AE
accent
#E7BB41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B