#AF1F60#AF1F60
#AF1F60 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.183 H 359.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF1F60 |
|---|---|
| RGB | rgb(175, 31, 96) |
| HSL | hsl(333, 70%, 40%) |
| HSV | hsv(333, 82%, 69%) |
| CMYK | cmyk(0%, 82.3%, 45.1%, 31.4%) |
| CIE-LAB | lab(39.48, 59.64, -0.52) |
| CIE-LCH | lch(39.48, 59.65, 359.50°) |
| OKLab | oklab(50.24% 0.1835 -0.0007) |
| OKLCH | oklch(50.24% 0.183 359.8) |
| XYZ | xyz(20.2822, 10.9412, 12.1079) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.58
Deep Magenta
#A0025C
ΔE00 4.71
Dark Fuchsia
#9D0759
ΔE00 4.89
Purplish Red
#B0054B
ΔE00 5.24
Deep Pink
#CB0162
ΔE00 5.26
Magenta (survey)
#C20078
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF1F60 #1FAF6E
analogous
#AF1FA8 #AF1F60 #AF261F
triadic
#AF1F60 #60AF1F #1F60AF
tetradic
#AF1F60 #A8AF1F #1FAF6E #261FAF
square
#AF1F60 #A8AF1F #1FAF6E #261FAF
split-complementary
#AF1F60 #1FAF26 #1FA8AF
monochromatic
#470D27 #7B1643 #AF1F60 #DA317D #E4659E
Accessibility & contrast
On white
6.59
#AF1F60 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AF1F60 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF1F60
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF1F60 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF1F60 | 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)
#434C61
Deuteranopia (green-blind)
#69675D
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af1f60; /* rgb */ color: rgb(175, 31, 96); /* oklch */ color: oklch(50.2% 0.183 359.8);
Tailwind
colors: {
custom: {
50: '#cd6c8d',
500: '#af1f60',
950: '#000000',
},
}SCSS
$custom: #af1f60; $custom-light: #cd6c8d; $custom-dark: #000000;
JSON
{
"hex": "#af1f60",
"rgb": {
"r": 175,
"g": 31,
"b": 96
},
"hsl": {
"h": 332.917,
"s": 69.903,
"l": 40.392
},
"oklch": {
"l": 0.5024,
"c": 0.18348,
"h": 359.8
},
"luminance": 0.10938
}Semantic roles & 50–950 ramp
primary
#AF1F60
secondary
#61C99A
accent
#ED9D3B
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D