#C730A9#C730A9
#C730A9 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.5% C 0.222 H 337.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C730A9 |
|---|---|
| RGB | rgb(199, 48, 169) |
| HSL | hsl(312, 61%, 48%) |
| HSV | hsv(312, 76%, 78%) |
| CMYK | cmyk(0%, 75.9%, 15.1%, 22%) |
| CIE-LAB | lab(48.42, 69.36, -31.17) |
| CIE-LCH | lch(48.42, 76.04, 335.80°) |
| OKLab | oklab(58.47% 0.2049 -0.0847) |
| OKLCH | oklch(58.47% 0.222 337.5) |
| XYZ | xyz(31.7722, 17.1236, 39.1603) |
| Luminance | 0.1712 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.23
Pinky Purple
#C94CBE
ΔE00 5.67
Ugly Purple
#A442A0
ΔE00 6.19
Mediumvioletred
#C71585
ΔE00 7.05
Medium Purple
#9E43A2
ΔE00 7.41
Barney
#AC1DB8
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C730A9 #30C74E
analogous
#9A30C7 #C730A9 #C7305D
triadic
#C730A9 #A9C730 #30A9C7
tetradic
#C730A9 #C79A30 #30C74E #305DC7
square
#C730A9 #C79A30 #30C74E #305DC7
split-complementary
#C730A9 #5DC730 #30C79A
monochromatic
#641855 #96247F #C730A9 #D85CBF #E48ED3
Accessibility & contrast
On white
4.75
#C730A9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#C730A9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C730A9
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C730A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C730A9 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3664AC
Deuteranopia (green-blind)
#6A7BA6
Tritanopia (blue-blind)
#D2396A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c730a9; /* rgb */ color: rgb(199, 48, 169); /* oklch */ color: oklch(58.5% 0.222 337.5);
Tailwind
colors: {
custom: {
50: '#dc78c3',
500: '#c730a9',
950: '#000000',
},
}SCSS
$custom: #c730a9; $custom-light: #dc78c3; $custom-dark: #000000;
JSON
{
"hex": "#c730a9",
"rgb": {
"r": 199,
"g": 48,
"b": 169
},
"hsl": {
"h": 311.921,
"s": 61.134,
"l": 48.431
},
"oklch": {
"l": 0.58474,
"c": 0.22177,
"h": 337.5
},
"luminance": 0.17121
}Semantic roles & 50–950 ramp
primary
#C730A9
secondary
#85CE93
accent
#E46344
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81