#C5295F#C5295F
#C5295F is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.193 H 6.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C5295F |
|---|---|
| RGB | rgb(197, 41, 95) |
| HSL | hsl(339, 66%, 47%) |
| HSV | hsv(339, 79%, 77%) |
| CMYK | cmyk(0%, 79.2%, 51.8%, 22.7%) |
| CIE-LAB | lab(44.64, 62.72, 8.08) |
| CIE-LCH | lch(44.64, 63.24, 7.34°) |
| OKLab | oklab(54.78% 0.1916 0.021) |
| OKLCH | oklch(54.78% 0.193 6.3) |
| XYZ | xyz(25.8868, 14.2861, 12.2186) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 2.77
Dark Hot Pink
#D90166
ΔE00 3.52
Cerise
#DE0C62
ΔE00 4.31
Dark Pink
#CB416B
ΔE00 4.43
Deep Rose
#C74767
ΔE00 5.14
Dark Rose
#B5485D
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5295F #29C58F
analogous
#C529AD #C5295F #C54129
triadic
#C5295F #5FC529 #295FC5
tetradic
#C5295F #ADC529 #29C58F #4129C5
square
#C5295F #ADC529 #29C58F #4129C5
split-complementary
#C5295F #29C541 #29ADC5
monochromatic
#60142E #921E47 #C5295F #DB5180 #E583A5
Accessibility & contrast
On white
5.45
#C5295F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#C5295F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5295F
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5295F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5295F | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525660
Deuteranopia (green-blind)
#7B755B
Tritanopia (blue-blind)
#D70041
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c5295f; /* rgb */ color: rgb(197, 41, 95); /* oklch */ color: oklch(54.8% 0.193 6.3);
Tailwind
colors: {
custom: {
50: '#dd738c',
500: '#c5295f',
950: '#000000',
},
}SCSS
$custom: #c5295f; $custom-light: #dd738c; $custom-dark: #000000;
JSON
{
"hex": "#c5295f",
"rgb": {
"r": 197,
"g": 41,
"b": 95
},
"hsl": {
"h": 339.231,
"s": 65.546,
"l": 46.667
},
"oklch": {
"l": 0.54776,
"c": 0.19272,
"h": 6.3
},
"luminance": 0.14282
}Semantic roles & 50–950 ramp
primary
#C5295F
secondary
#7CCEB2
accent
#E8AE3F
background
#FEF7F8
surface
#FDEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D