#C271AF#C271AF
#C271AF is a light, vivid pink. Relative luminance 0.264; OKLCH L 65.8% C 0.129 H 336.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C271AF |
|---|---|
| RGB | rgb(194, 113, 175) |
| HSL | hsl(314, 40%, 60%) |
| HSV | hsv(314, 42%, 76%) |
| CMYK | cmyk(0%, 41.8%, 9.8%, 23.9%) |
| CIE-LAB | lab(58.39, 40.74, -19.32) |
| CIE-LCH | lch(58.39, 45.09, 334.63°) |
| OKLab | oklab(65.77% 0.1178 -0.0519) |
| OKLCH | oklch(65.77% 0.129 336.2) |
| XYZ | xyz(35.8911, 26.3768, 43.7499) |
| Luminance | 0.2637 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 4.19
Pale Magenta
#D767AD
ΔE00 4.41
Purplish Pink
#CE5DAE
ΔE00 4.79
Soft Purple
#A66FB5
ΔE00 7.06
Orchid
#DA70D6
ΔE00 7.55
Dark Lilac
#9C6DA5
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C271AF #71C284
analogous
#AC71C2 #C271AF #C27187
triadic
#C271AF #AFC271 #71AFC2
tetradic
#C271AF #C2AC71 #71C284 #7187C2
square
#C271AF #C2AC71 #71C284 #7187C2
split-complementary
#C271AF #87C271 #71C2AC
monochromatic
#813770 #AC4A95 #C271AF #D49CC7 #E7C7DF
Accessibility & contrast
On white
3.35
#C271AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#C271AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C271AF
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C271AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C271AF | 1.00 | 3.35 | 6.28 | 6.28 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7285B1
Deuteranopia (green-blind)
#8791AD
Tritanopia (blue-blind)
#CA7488
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c271af; /* rgb */ color: rgb(194, 113, 175); /* oklch */ color: oklch(65.8% 0.129 336.2);
Tailwind
colors: {
custom: {
50: '#d69cc7',
500: '#c271af',
950: '#000000',
},
}SCSS
$custom: #c271af; $custom-light: #d69cc7; $custom-dark: #000000;
JSON
{
"hex": "#c271af",
"rgb": {
"r": 194,
"g": 113,
"b": 175
},
"hsl": {
"h": 314.074,
"s": 39.901,
"l": 60.196
},
"oklch": {
"l": 0.65765,
"c": 0.12873,
"h": 336.2
},
"luminance": 0.26375
}Semantic roles & 50–950 ramp
primary
#C271AF
secondary
#B8D7BF
accent
#B35133
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82