#AF267F#AF267F
#AF267F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.191 H 346.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AF267F |
|---|---|
| RGB | rgb(175, 38, 127) |
| HSL | hsl(321, 64%, 42%) |
| HSV | hsv(321, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 27.4%, 31.4%) |
| CIE-LAB | lab(41.27, 61.08, -17.23) |
| CIE-LCH | lch(41.27, 63.46, 344.25°) |
| OKLab | oklab(51.91% 0.1857 -0.0457) |
| OKLCH | oklch(51.91% 0.191 346.2) |
| XYZ | xyz(22.2041, 12.0350, 21.2282) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.14
Mediumvioletred
#C71585
ΔE00 4.30
Red Violet
#9E0168
ΔE00 5.95
Warm Purple
#952E8F
ΔE00 7.38
Deep Magenta
#A0025C
ΔE00 7.55
Ugly Purple
#A442A0
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF267F #26AF56
analogous
#9B26AF #AF267F #AF263B
triadic
#AF267F #7FAF26 #267FAF
tetradic
#AF267F #AF9B26 #26AF56 #263BAF
square
#AF267F #AF9B26 #26AF56 #263BAF
split-complementary
#AF267F #3BAF26 #26AF9B
monochromatic
#4A1036 #7D1B5B #AF267F #D53DA0 #E070B9
Accessibility & contrast
On white
6.16
#AF267F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#AF267F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF267F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF267F | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5281
Deuteranopia (green-blind)
#636A7C
Tritanopia (blue-blind)
#BB2250
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af267f; /* rgb */ color: rgb(175, 38, 127); /* oklch */ color: oklch(51.9% 0.191 346.2);
Tailwind
colors: {
custom: {
50: '#cb70a4',
500: '#af267f',
950: '#000000',
},
}SCSS
$custom: #af267f; $custom-light: #cb70a4; $custom-dark: #000000;
JSON
{
"hex": "#af267f",
"rgb": {
"r": 175,
"g": 38,
"b": 127
},
"hsl": {
"h": 321.022,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.51912,
"c": 0.19127,
"h": 346.2
},
"luminance": 0.12032
}Semantic roles & 50–950 ramp
primary
#AF267F
secondary
#6AC78B
accent
#E77B40
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F