#C7307F#C7307F
#C7307F is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.7% C 0.198 H 353.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C7307F |
|---|---|
| RGB | rgb(199, 48, 127) |
| HSL | hsl(329, 61%, 48%) |
| HSV | hsv(329, 76%, 78%) |
| CMYK | cmyk(0%, 75.9%, 36.2%, 22%) |
| CIE-LAB | lab(46.70, 64.18, -8.58) |
| CIE-LCH | lch(46.70, 64.75, 352.38°) |
| OKLab | oklab(56.67% 0.197 -0.0219) |
| OKLCH | oklch(56.67% 0.198 353.7) |
| XYZ | xyz(28.4427, 15.7918, 21.6249) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.42
Magenta (survey)
#C20078
ΔE00 4.33
Deep Pink
#CB0162
ΔE00 6.66
Dark Hot Pink
#D90166
ΔE00 7.03
Darkish Pink
#DA467D
ΔE00 7.53
Dark Pink
#CB416B
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7307F #30C778
analogous
#C330C7 #C7307F #C73033
triadic
#C7307F #7FC730 #307FC7
tetradic
#C7307F #C7C330 #30C778 #3033C7
square
#C7307F #C7C330 #30C778 #3033C7
split-complementary
#C7307F #33C730 #30C7C3
monochromatic
#641840 #962460 #C7307F #D85C9D #E48EBB
Accessibility & contrast
On white
5.05
#C7307F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#C7307F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C7307F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C7307F | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#78797C
Tritanopia (blue-blind)
#D71F54
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c7307f; /* rgb */ color: rgb(199, 48, 127); /* oklch */ color: oklch(56.7% 0.198 353.7);
Tailwind
colors: {
custom: {
50: '#dd77a4',
500: '#c7307f',
950: '#000000',
},
}SCSS
$custom: #c7307f; $custom-light: #dd77a4; $custom-dark: #000000;
JSON
{
"hex": "#c7307f",
"rgb": {
"r": 199,
"g": 48,
"b": 127
},
"hsl": {
"h": 328.609,
"s": 61.134,
"l": 48.431
},
"oklch": {
"l": 0.5667,
"c": 0.19821,
"h": 353.7
},
"luminance": 0.15788
}Semantic roles & 50–950 ramp
primary
#C7307F
secondary
#85CEA8
accent
#E49044
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F