#AF265D#AF265D
#AF265D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.176 H 2.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF265D |
|---|---|
| RGB | rgb(175, 38, 93) |
| HSL | hsl(336, 64%, 42%) |
| HSV | hsv(336, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 46.9%, 31.4%) |
| CIE-LAB | lab(40.07, 57.44, 2.24) |
| CIE-LCH | lch(40.07, 57.48, 2.23°) |
| OKLab | oklab(50.64% 0.1762 0.0064) |
| OKLCH | oklch(50.64% 0.176 2.1) |
| XYZ | xyz(20.3498, 11.2933, 11.4620) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.30
Purplish Red
#B0054B
ΔE00 4.43
Deep Pink
#CB0162
ΔE00 4.85
Raspberry (survey)
#B00149
ΔE00 4.91
Light Burgundy
#A8415B
ΔE00 5.27
Berry
#990F4B
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF265D #26AF78
analogous
#AF26A2 #AF265D #AF3326
triadic
#AF265D #5DAF26 #265DAF
tetradic
#AF265D #A2AF26 #26AF78 #3326AF
square
#AF265D #A2AF26 #26AF78 #3326AF
split-complementary
#AF265D #26AF33 #26A2AF
monochromatic
#4A1028 #7D1B42 #AF265D #D53D7A #E0709D
Accessibility & contrast
On white
6.45
#AF265D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF265D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF265D
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF265D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF265D | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474D5E
Deuteranopia (green-blind)
#6C685A
Tritanopia (blue-blind)
#BE023E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af265d; /* rgb */ color: rgb(175, 38, 93); /* oklch */ color: oklch(50.6% 0.176 2.1);
Tailwind
colors: {
custom: {
50: '#cd6e8a',
500: '#af265d',
950: '#000000',
},
}SCSS
$custom: #af265d; $custom-light: #cd6e8a; $custom-dark: #000000;
JSON
{
"hex": "#af265d",
"rgb": {
"r": 175,
"g": 38,
"b": 93
},
"hsl": {
"h": 335.912,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.50642,
"c": 0.17636,
"h": 2.1
},
"luminance": 0.1129
}Semantic roles & 50–950 ramp
primary
#AF265D
secondary
#6AC7A2
accent
#E7A440
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C