#AF275F#AF275F
#AF275F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.176 H 1.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AF275F |
|---|---|
| RGB | rgb(175, 39, 95) |
| HSL | hsl(335, 64%, 42%) |
| HSV | hsv(335, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 45.7%, 31.4%) |
| CIE-LAB | lab(40.24, 57.32, 1.22) |
| CIE-LCH | lch(40.24, 57.33, 1.21°) |
| OKLab | oklab(50.78% 0.176 0.0038) |
| OKLCH | oklch(50.78% 0.176 1.2) |
| XYZ | xyz(20.4719, 11.3940, 11.9455) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.37
Deep Pink
#CB0162
ΔE00 4.90
Purplish Red
#B0054B
ΔE00 4.91
Raspberry (survey)
#B00149
ΔE00 5.39
Light Burgundy
#A8415B
ΔE00 5.45
Deep Magenta
#A0025C
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF275F #27AF77
analogous
#AF27A3 #AF275F #AF3327
triadic
#AF275F #5FAF27 #275FAF
tetradic
#AF275F #A3AF27 #27AF77 #3327AF
square
#AF275F #A3AF27 #27AF77 #3327AF
split-complementary
#AF275F #27AF33 #27A3AF
monochromatic
#4B1129 #7D1C44 #AF275F #D43F7C #DF719E
Accessibility & contrast
On white
6.41
#AF275F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF275F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF275F
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF275F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF275F | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474E60
Deuteranopia (green-blind)
#6C685C
Tritanopia (blue-blind)
#BE0740
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af275f; /* rgb */ color: rgb(175, 39, 95); /* oklch */ color: oklch(50.8% 0.176 1.2);
Tailwind
colors: {
custom: {
50: '#cc6f8c',
500: '#af275f',
950: '#000000',
},
}SCSS
$custom: #af275f; $custom-light: #cc6f8c; $custom-dark: #000000;
JSON
{
"hex": "#af275f",
"rgb": {
"r": 175,
"g": 39,
"b": 95
},
"hsl": {
"h": 335.294,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50783,
"c": 0.176,
"h": 1.2
},
"luminance": 0.11391
}Semantic roles & 50–950 ramp
primary
#AF275F
secondary
#6BC6A1
accent
#E7A241
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D