#AF265B#AF265B
#AF265B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.176 H 3.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AF265B |
|---|---|
| RGB | rgb(175, 38, 91) |
| HSL | hsl(337, 64%, 42%) |
| HSV | hsv(337, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 48%, 31.4%) |
| CIE-LAB | lab(40.01, 57.26, 3.42) |
| CIE-LCH | lch(40.01, 57.36, 3.42°) |
| OKLab | oklab(50.58% 0.1755 0.0094) |
| OKLCH | oklch(50.58% 0.176 3.1) |
| XYZ | xyz(20.2624, 11.2583, 11.0016) |
| Luminance | 0.1126 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.97
Violet Red
#A50055
ΔE00 4.43
Raspberry (survey)
#B00149
ΔE00 4.44
Deep Pink
#CB0162
ΔE00 4.84
Light Burgundy
#A8415B
ΔE00 4.98
Berry
#990F4B
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF265B #26AF7A
analogous
#AF26A0 #AF265B #AF3526
triadic
#AF265B #5BAF26 #265BAF
tetradic
#AF265B #A0AF26 #26AF7A #3526AF
square
#AF265B #A0AF26 #26AF7A #3526AF
split-complementary
#AF265B #26AF35 #26A0AF
monochromatic
#4A1027 #7D1B41 #AF265B #D53D78 #E0709B
Accessibility & contrast
On white
6.46
#AF265B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF265B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF265B
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF265B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF265B | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484D5C
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#BF003D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af265b; /* rgb */ color: rgb(175, 38, 91); /* oklch */ color: oklch(50.6% 0.176 3.1);
Tailwind
colors: {
custom: {
50: '#cd6e89',
500: '#af265b',
950: '#000000',
},
}SCSS
$custom: #af265b; $custom-light: #cd6e89; $custom-dark: #000000;
JSON
{
"hex": "#af265b",
"rgb": {
"r": 175,
"g": 38,
"b": 91
},
"hsl": {
"h": 336.788,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.5058,
"c": 0.17579,
"h": 3.1
},
"luminance": 0.11256
}Semantic roles & 50–950 ramp
primary
#AF265B
secondary
#6AC7A3
accent
#E7A740
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C