#AF254B#AF254B
#AF254B is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.173 H 10.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF254B |
|---|---|
| RGB | rgb(175, 37, 75) |
| HSL | hsl(343, 65%, 42%) |
| HSV | hsv(343, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 57.1%, 31.4%) |
| CIE-LAB | lab(39.49, 56.27, 12.84) |
| CIE-LCH | lch(39.49, 57.72, 12.86°) |
| OKLab | oklab(50.06% 0.1705 0.0322) |
| OKLCH | oklch(50.06% 0.174 10.7) |
| XYZ | xyz(19.6127, 10.9480, 7.7357) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.87
Purplish Red
#B0054B
ΔE00 2.94
Rouge
#AB1239
ΔE00 4.39
Rose Red
#BE013C
ΔE00 5.03
Light Burgundy
#A8415B
ΔE00 5.06
Ruby
#CA0147
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF254B #25AF89
analogous
#AF2590 #AF254B #AF4425
triadic
#AF254B #4BAF25 #254BAF
tetradic
#AF254B #90AF25 #25AF89 #4425AF
square
#AF254B #90AF25 #25AF89 #4425AF
split-complementary
#AF254B #25AF44 #2590AF
monochromatic
#4A1020 #7C1A35 #AF254B #D63C66 #E06E8E
Accessibility & contrast
On white
6.59
#AF254B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AF254B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF254B
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF254B | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4B4C
Deuteranopia (green-blind)
#6E6747
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af254b; /* rgb */ color: rgb(175, 37, 75); /* oklch */ color: oklch(50.1% 0.173 10.7);
Tailwind
colors: {
custom: {
50: '#ce6e7d',
500: '#af254b',
950: '#000000',
},
}SCSS
$custom: #af254b; $custom-light: #ce6e7d; $custom-dark: #000000;
JSON
{
"hex": "#af254b",
"rgb": {
"r": 175,
"g": 37,
"b": 75
},
"hsl": {
"h": 343.478,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.50063,
"c": 0.1735,
"h": 10.7
},
"luminance": 0.10945
}Semantic roles & 50–950 ramp
primary
#AF254B
secondary
#69C7AD
accent
#E8BA40
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B