#AF2C6B#AF2C6B
#AF2C6B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.175 H 356.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C6B |
|---|---|
| RGB | rgb(175, 44, 107) |
| HSL | hsl(331, 60%, 43%) |
| HSV | hsv(331, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 38.9%, 31.4%) |
| CIE-LAB | lab(41.18, 56.91, -4.93) |
| CIE-LCH | lch(41.18, 57.13, 355.05°) |
| OKLab | oklab(51.6% 0.1748 -0.0123) |
| OKLCH | oklch(51.6% 0.175 356) |
| XYZ | xyz(21.2352, 11.9795, 15.1011) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.28
Violet Red
#A50055
ΔE00 5.70
Deep Magenta
#A0025C
ΔE00 5.73
Dark Fuchsia
#9D0759
ΔE00 6.09
Deep Pink
#CB0162
ΔE00 6.09
Mediumvioletred
#C71585
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C6B #2CAF70
analogous
#AF2CAC #AF2C6B #AF2F2C
triadic
#AF2C6B #6BAF2C #2C6BAF
tetradic
#AF2C6B #ACAF2C #2CAF70 #2F2CAF
square
#AF2C6B #ACAF2C #2CAF70 #2F2CAF
split-complementary
#AF2C6B #2CAF2F #2CACAF
monochromatic
#4D132F #7E204D #AF2C6B #D14789 #DD78A9
Accessibility & contrast
On white
6.18
#AF2C6B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AF2C6B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C6B
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C6B | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46526D
Deuteranopia (green-blind)
#6B6A68
Tritanopia (blue-blind)
#BD1C48
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2c6b; /* rgb */ color: rgb(175, 44, 107); /* oklch */ color: oklch(51.6% 0.175 356.0);
Tailwind
colors: {
custom: {
50: '#cc7195',
500: '#af2c6b',
950: '#000000',
},
}SCSS
$custom: #af2c6b; $custom-light: #cc7195; $custom-dark: #000000;
JSON
{
"hex": "#af2c6b",
"rgb": {
"r": 175,
"g": 44,
"b": 107
},
"hsl": {
"h": 331.145,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.51603,
"c": 0.17518,
"h": 356
},
"luminance": 0.11977
}Semantic roles & 50–950 ramp
primary
#AF2C6B
secondary
#72C59D
accent
#E39745
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E