#AF2661#AF2661
#AF2661 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.178 H 0.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2661 |
|---|---|
| RGB | rgb(175, 38, 97) |
| HSL | hsl(334, 64%, 42%) |
| HSV | hsv(334, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 44.6%, 31.4%) |
| CIE-LAB | lab(40.19, 57.81, -0.11) |
| CIE-LCH | lch(40.19, 57.81, 359.89°) |
| OKLab | oklab(50.77% 0.1776 0.0004) |
| OKLCH | oklch(50.77% 0.178 0.1) |
| XYZ | xyz(20.5316, 11.3660, 12.4196) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.27
Deep Pink
#CB0162
ΔE00 5.06
Deep Magenta
#A0025C
ΔE00 5.39
Purplish Red
#B0054B
ΔE00 5.39
Dark Fuchsia
#9D0759
ΔE00 5.54
Magenta (survey)
#C20078
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2661 #26AF74
analogous
#AF26A5 #AF2661 #AF3026
triadic
#AF2661 #61AF26 #2661AF
tetradic
#AF2661 #A5AF26 #26AF74 #3026AF
square
#AF2661 #A5AF26 #26AF74 #3026AF
split-complementary
#AF2661 #26AF30 #26A5AF
monochromatic
#4A1029 #7D1B45 #AF2661 #D53D7F #E070A0
Accessibility & contrast
On white
6.42
#AF2661 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2661 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2661
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2661 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2661 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464E62
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#BE0740
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2661; /* rgb */ color: rgb(175, 38, 97); /* oklch */ color: oklch(50.8% 0.178 0.1);
Tailwind
colors: {
custom: {
50: '#cc6f8d',
500: '#af2661',
950: '#000000',
},
}SCSS
$custom: #af2661; $custom-light: #cc6f8d; $custom-dark: #000000;
JSON
{
"hex": "#af2661",
"rgb": {
"r": 175,
"g": 38,
"b": 97
},
"hsl": {
"h": 334.161,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.50769,
"c": 0.17761,
"h": 0.1
},
"luminance": 0.11363
}Semantic roles & 50–950 ramp
primary
#AF2661
secondary
#6AC79F
accent
#E79F40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D