#CA319E#CA319E

#CA319E is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.5% C 0.216 H 342.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CA319E
RGBrgb(202, 49, 158)
HSLhsl(317, 61%, 49%)
HSVhsv(317, 76%, 79%)
CMYKcmyk(0%, 75.7%, 21.8%, 20.8%)
CIE-LABlab(48.54, 68.28, -24.41)
CIE-LCHlch(48.54, 72.51, 340.33°)
OKLaboklab(58.5% 0.2054 -0.0655)
OKLCHoklch(58.5% 0.216 342.3)
XYZxyz(31.6281, 17.2251, 34.0002)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA319E #31CA5D
analogous
#AA31CA #CA319E #CA3152
triadic
#CA319E #9ECA31 #319ECA
tetradic
#CA319E #CAAA31 #31CA5D #3152CA
square
#CA319E #CAAA31 #31CA5D #3152CA
split-complementary
#CA319E #52CA31 #31CAAA
monochromatic
#671951 #992577 #CA319E #D860B6 #E491CC

Accessibility & contrast

On white

4.73
#CA319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CA319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA319E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA319E#FFFFFF#000000##FFFFFF
##CA319E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A1
Deuteranopia (green-blind)
#717C9B
Tritanopia (blue-blind)
#D73364
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca319e;
/* rgb */ color: rgb(202, 49, 158);
/* oklch */ color: oklch(58.5% 0.216 342.3);
Tailwind
colors: {
  custom: {
    50: '#de79bb',
    500: '#ca319e',
    950: '#000000',
  },
}
SCSS
$custom: #ca319e;
$custom-light: #de79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca319e",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 317.255,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.21559,
    "h": 342.3
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

primary
#CA319E
secondary
#88CF9C
accent
#E47244
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CA319E

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

Preview Lab → · Contrast checker → · Palette generator →

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