#AF284B#AF284B
#AF284B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.171 H 11.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF284B |
|---|---|
| RGB | rgb(175, 40, 75) |
| HSL | hsl(344, 63%, 42%) |
| HSV | hsv(344, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 57.1%, 31.4%) |
| CIE-LAB | lab(39.82, 55.35, 13.29) |
| CIE-LCH | lch(39.82, 56.92, 13.50°) |
| OKLab | oklab(50.3% 0.1675 0.0333) |
| OKLCH | oklch(50.3% 0.171 11.2) |
| XYZ | xyz(19.7099, 11.1424, 7.7681) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.35
Purplish Red
#B0054B
ΔE00 3.43
Rouge
#AB1239
ΔE00 4.35
Light Burgundy
#A8415B
ΔE00 4.88
Rose Red
#BE013C
ΔE00 4.88
Ruby
#CA0147
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF284B #28AF8C
analogous
#AF288F #AF284B #AF4828
triadic
#AF284B #4BAF28 #284BAF
tetradic
#AF284B #8FAF28 #28AF8C #4828AF
square
#AF284B #8FAF28 #28AF8C #4828AF
split-complementary
#AF284B #28AF48 #288FAF
monochromatic
#4B1120 #7D1D36 #AF284B #D44167 #DF738F
Accessibility & contrast
On white
6.51
#AF284B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF284B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF284B
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF284B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF284B | 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)
#4C4C4C
Deuteranopia (green-blind)
#6F6848
Tritanopia (blue-blind)
#BF0037
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af284b; /* rgb */ color: rgb(175, 40, 75); /* oklch */ color: oklch(50.3% 0.171 11.2);
Tailwind
colors: {
custom: {
50: '#ce6f7d',
500: '#af284b',
950: '#000000',
},
}SCSS
$custom: #af284b; $custom-light: #ce6f7d; $custom-dark: #000000;
JSON
{
"hex": "#af284b",
"rgb": {
"r": 175,
"g": 40,
"b": 75
},
"hsl": {
"h": 344.444,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.50304,
"c": 0.17079,
"h": 11.2
},
"luminance": 0.1114
}Semantic roles & 50–950 ramp
primary
#AF284B
secondary
#6DC6AF
accent
#E6BB42
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B