#AF235F#AF235F
#AF235F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.180 H 0.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AF235F |
|---|---|
| RGB | rgb(175, 35, 95) |
| HSL | hsl(334, 67%, 41%) |
| HSV | hsv(334, 80%, 69%) |
| CMYK | cmyk(0%, 80%, 45.7%, 31.4%) |
| CIE-LAB | lab(39.82, 58.49, 0.61) |
| CIE-LCH | lch(39.82, 58.49, 0.60°) |
| OKLab | oklab(50.48% 0.1797 0.0022) |
| OKLCH | oklch(50.48% 0.18 0.7) |
| XYZ | xyz(20.3474, 11.1450, 11.9040) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.92
Purplish Red
#B0054B
ΔE00 4.92
Deep Pink
#CB0162
ΔE00 5.02
Deep Magenta
#A0025C
ΔE00 5.25
Dark Fuchsia
#9D0759
ΔE00 5.37
Raspberry (survey)
#B00149
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF235F #23AF73
analogous
#AF23A5 #AF235F #AF2D23
triadic
#AF235F #5FAF23 #235FAF
tetradic
#AF235F #A5AF23 #23AF73 #2D23AF
square
#AF235F #A5AF23 #23AF73 #2D23AF
split-complementary
#AF235F #23AF2D #23A5AF
monochromatic
#490F28 #7C1943 #AF235F #D7387C #E16B9E
Accessibility & contrast
On white
6.50
#AF235F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF235F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF235F
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF235F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF235F | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#6B675C
Tritanopia (blue-blind)
#BE003E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af235f; /* rgb */ color: rgb(175, 35, 95); /* oklch */ color: oklch(50.5% 0.180 0.7);
Tailwind
colors: {
custom: {
50: '#cd6d8c',
500: '#af235f',
950: '#000000',
},
}SCSS
$custom: #af235f; $custom-light: #cd6d8c; $custom-dark: #000000;
JSON
{
"hex": "#af235f",
"rgb": {
"r": 175,
"g": 35,
"b": 95
},
"hsl": {
"h": 334.286,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.5048,
"c": 0.17973,
"h": 0.7
},
"luminance": 0.11142
}Semantic roles & 50–950 ramp
primary
#AF235F
secondary
#66C79E
accent
#EAA03E
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D