#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
RGBrgb(202, 49, 156)
HSLhsl(318, 61%, 49%)
HSVhsv(318, 76%, 79%)
CMYKcmyk(0%, 75.7%, 22.8%, 20.8%)
CIE-LABlab(48.46, 68.03, -23.35)
CIE-LCHlch(48.46, 71.92, 341.06°)
OKLaboklab(58.41% 0.2051 -0.0625)
OKLCHoklch(58.41% 0.214 343)
XYZxyz(31.4574, 17.1568, 33.1010)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##CA319C1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.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

Preview Lab

Preview with #CA319C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CA319C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva