#AF268E#AF268E
#AF268E is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.6% C 0.200 H 340.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AF268E |
|---|---|
| RGB | rgb(175, 38, 142) |
| HSL | hsl(314, 64%, 42%) |
| HSV | hsv(314, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 18.9%, 31.4%) |
| CIE-LAB | lab(41.93, 63.02, -25.40) |
| CIE-LCH | lch(41.93, 67.95, 338.05°) |
| OKLab | oklab(52.6% 0.1882 -0.0687) |
| OKLCH | oklch(52.6% 0.2 340) |
| XYZ | xyz(23.2555, 12.4555, 26.7654) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.32
Ugly Purple
#A442A0
ΔE00 5.50
Mediumvioletred
#C71585
ΔE00 5.59
Barney Purple
#A00498
ΔE00 6.01
Medium Purple
#9E43A2
ΔE00 6.47
Magenta (survey)
#C20078
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF268E #26AF47
analogous
#8C26AF #AF268E #AF2649
triadic
#AF268E #8EAF26 #268EAF
tetradic
#AF268E #AF8C26 #26AF47 #2649AF
square
#AF268E #AF8C26 #26AF47 #2649AF
split-complementary
#AF268E #49AF26 #26AF8C
monochromatic
#4A103C #7D1B65 #AF268E #D53DB0 #E070C5
Accessibility & contrast
On white
6.02
#AF268E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#AF268E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF268E
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF268E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF268E | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#BA2B58
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #af268e; /* rgb */ color: rgb(175, 38, 142); /* oklch */ color: oklch(52.6% 0.200 340.0);
Tailwind
colors: {
custom: {
50: '#cb70af',
500: '#af268e',
950: '#000000',
},
}SCSS
$custom: #af268e; $custom-light: #cb70af; $custom-dark: #000000;
JSON
{
"hex": "#af268e",
"rgb": {
"r": 175,
"g": 38,
"b": 142
},
"hsl": {
"h": 314.453,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.52604,
"c": 0.20033,
"h": 340
},
"luminance": 0.12453
}Semantic roles & 50–950 ramp
primary
#AF268E
secondary
#6AC780
accent
#E76940
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F