#AF276F#AF276F
#AF276F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.182 H 353.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF276F |
|---|---|
| RGB | rgb(175, 39, 111) |
| HSL | hsl(328, 64%, 42%) |
| HSV | hsv(328, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 36.6%, 31.4%) |
| CIE-LAB | lab(40.76, 58.93, -8.07) |
| CIE-LCH | lch(40.76, 59.48, 352.21°) |
| OKLab | oklab(51.34% 0.181 -0.0206) |
| OKLCH | oklch(51.34% 0.182 353.5) |
| XYZ | xyz(21.2753, 11.7153, 16.1768) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.49
Mediumvioletred
#C71585
ΔE00 5.33
Deep Magenta
#A0025C
ΔE00 5.41
Red Violet
#9E0168
ΔE00 5.71
Dark Fuchsia
#9D0759
ΔE00 5.90
Violet Red
#A50055
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF276F #27AF67
analogous
#AB27AF #AF276F #AF272B
triadic
#AF276F #6FAF27 #276FAF
tetradic
#AF276F #AFAB27 #27AF67 #272BAF
square
#AF276F #AFAB27 #27AF67 #272BAF
split-complementary
#AF276F #2BAF27 #27AFAB
monochromatic
#4B1130 #7D1C4F #AF276F #D43F8E #DF71AB
Accessibility & contrast
On white
6.28
#AF276F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF276F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF276F
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF276F | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425071
Deuteranopia (green-blind)
#68696C
Tritanopia (blue-blind)
#BD1748
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af276f; /* rgb */ color: rgb(175, 39, 111); /* oklch */ color: oklch(51.3% 0.182 353.5);
Tailwind
colors: {
custom: {
50: '#cc6f98',
500: '#af276f',
950: '#000000',
},
}SCSS
$custom: #af276f; $custom-light: #cc6f98; $custom-dark: #000000;
JSON
{
"hex": "#af276f",
"rgb": {
"r": 175,
"g": 39,
"b": 111
},
"hsl": {
"h": 328.235,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.51338,
"c": 0.18214,
"h": 353.5
},
"luminance": 0.11713
}Semantic roles & 50–950 ramp
primary
#AF276F
secondary
#6BC696
accent
#E78F41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E