#C5306F#C5306F
#C5306F is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.8% C 0.190 H 0.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C5306F |
|---|---|
| RGB | rgb(197, 48, 111) |
| HSL | hsl(335, 61%, 48%) |
| HSV | hsv(335, 76%, 77%) |
| CMYK | cmyk(0%, 75.6%, 43.7%, 22.7%) |
| CIE-LAB | lab(45.82, 62.04, -0.12) |
| CIE-LCH | lch(45.82, 62.04, 359.88°) |
| OKLab | oklab(55.79% 0.1905 0.0004) |
| OKLCH | oklch(55.79% 0.19 0.1) |
| XYZ | xyz(26.9542, 15.1355, 16.5379) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.70
Dark Hot Pink
#D90166
ΔE00 4.29
Dark Pink
#CB416B
ΔE00 4.74
Magenta (survey)
#C20078
ΔE00 5.69
Cerise
#DE0C62
ΔE00 5.97
Deep Rose
#C74767
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5306F #30C586
analogous
#C530B9 #C5306F #C53C30
triadic
#C5306F #6FC530 #306FC5
tetradic
#C5306F #B9C530 #30C586 #3C30C5
square
#C5306F #B9C530 #30C586 #3C30C5
split-complementary
#C5306F #30C53C #30B9C5
monochromatic
#631838 #942453 #C5306F #D75B90 #E38CB1
Accessibility & contrast
On white
5.22
#C5306F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#C5306F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5306F
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5306F | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525A71
Deuteranopia (green-blind)
#7A776C
Tritanopia (blue-blind)
#D6144C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c5306f; /* rgb */ color: rgb(197, 48, 111); /* oklch */ color: oklch(55.8% 0.190 0.1);
Tailwind
colors: {
custom: {
50: '#dc7698',
500: '#c5306f',
950: '#000000',
},
}SCSS
$custom: #c5306f; $custom-light: #dc7698; $custom-dark: #000000;
JSON
{
"hex": "#c5306f",
"rgb": {
"r": 197,
"g": 48,
"b": 111
},
"hsl": {
"h": 334.631,
"s": 60.816,
"l": 48.039
},
"oklch": {
"l": 0.55788,
"c": 0.19048,
"h": 0.1
},
"luminance": 0.15132
}Semantic roles & 50–950 ramp
primary
#C5306F
secondary
#84CDAE
accent
#E4A044
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E