#CA319C#CA319C
#CA319C is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.4% C 0.214 H 343.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CA319C |
|---|---|
| RGB | rgb(202, 49, 156) |
| HSL | hsl(318, 61%, 49%) |
| HSV | hsv(318, 76%, 79%) |
| CMYK | cmyk(0%, 75.7%, 22.8%, 20.8%) |
| CIE-LAB | lab(48.46, 68.03, -23.35) |
| CIE-LCH | lch(48.46, 71.92, 341.06°) |
| OKLab | oklab(58.41% 0.2051 -0.0625) |
| OKLCH | oklch(58.41% 0.214 343) |
| XYZ | xyz(31.4574, 17.1568, 33.1010) |
| Luminance | 0.1715 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.93
Purpley Pink
#C83CB9
ΔE00 5.52
Pinky Purple
#C94CBE
ΔE00 7.23
Ugly Purple
#A442A0
ΔE00 7.54
Magenta (survey)
#C20078
ΔE00 7.62
Purplish Pink
#CE5DAE
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA319C #31CA5F
analogous
#AC31CA #CA319C #CA3150
triadic
#CA319C #9CCA31 #319CCA
tetradic
#CA319C #CAAC31 #31CA5F #3150CA
square
#CA319C #CAAC31 #31CA5F #3150CA
split-complementary
#CA319C #50CA31 #31CAAC
monochromatic
#671950 #992576 #CA319C #D860B4 #E491CB
Accessibility & contrast
On white
4.74
#CA319C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#CA319C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA319C
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA319C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA319C | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42639F
Deuteranopia (green-blind)
#727C99
Tritanopia (blue-blind)
#D73263
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ca319c; /* rgb */ color: rgb(202, 49, 156); /* oklch */ color: oklch(58.4% 0.214 343.0);
Tailwind
colors: {
custom: {
50: '#df79b9',
500: '#ca319c',
950: '#000000',
},
}SCSS
$custom: #ca319c; $custom-light: #df79b9; $custom-dark: #000000;
JSON
{
"hex": "#ca319c",
"rgb": {
"r": 202,
"g": 49,
"b": 156
},
"hsl": {
"h": 318.039,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.58412,
"c": 0.2144,
"h": 343
},
"luminance": 0.17153
}Semantic roles & 50–950 ramp
primary
#CA319C
secondary
#88CF9D
accent
#E47444
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80