#AF2761#AF2761
#AF2761 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.177 H 0.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2761 |
|---|---|
| RGB | rgb(175, 39, 97) |
| HSL | hsl(334, 64%, 42%) |
| HSV | hsv(334, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 44.6%, 31.4%) |
| CIE-LAB | lab(40.30, 57.51, 0.04) |
| CIE-LCH | lch(40.30, 57.51, 0.04°) |
| OKLab | oklab(50.85% 0.1766 0.0008) |
| OKLCH | oklch(50.85% 0.177 0.2) |
| XYZ | xyz(20.5640, 11.4308, 12.4304) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.38
Deep Pink
#CB0162
ΔE00 5.03
Purplish Red
#B0054B
ΔE00 5.39
Deep Magenta
#A0025C
ΔE00 5.52
Dark Fuchsia
#9D0759
ΔE00 5.66
Light Burgundy
#A8415B
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2761 #27AF75
analogous
#AF27A5 #AF2761 #AF3127
triadic
#AF2761 #61AF27 #2761AF
tetradic
#AF2761 #A5AF27 #27AF75 #3127AF
square
#AF2761 #A5AF27 #27AF75 #3127AF
split-complementary
#AF2761 #27AF31 #27A5AF
monochromatic
#4B112A #7D1C45 #AF2761 #D43F7F #DF71A0
Accessibility & contrast
On white
6.39
#AF2761 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2761 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2761
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2761 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2761 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474E62
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#BE0A41
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2761; /* rgb */ color: rgb(175, 39, 97); /* oklch */ color: oklch(50.8% 0.177 0.2);
Tailwind
colors: {
custom: {
50: '#cc6f8d',
500: '#af2761',
950: '#000000',
},
}SCSS
$custom: #af2761; $custom-light: #cc6f8d; $custom-dark: #000000;
JSON
{
"hex": "#af2761",
"rgb": {
"r": 175,
"g": 39,
"b": 97
},
"hsl": {
"h": 334.412,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50847,
"c": 0.17664,
"h": 0.2
},
"luminance": 0.11428
}Semantic roles & 50–950 ramp
primary
#AF2761
secondary
#6BC6A0
accent
#E7A041
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D