#CA319F#CA319F

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

Color values

HEX#CA319F
RGBrgb(202, 49, 159)
HSLhsl(317, 61%, 49%)
HSVhsv(317, 76%, 79%)
CMYKcmyk(0%, 75.7%, 21.3%, 20.8%)
CIE-LABlab(48.59, 68.41, -24.93)
CIE-LCHlch(48.59, 72.81, 339.97°)
OKLaboklab(58.55% 0.2056 -0.067)
OKLCHoklch(58.55% 0.216 341.9)
XYZxyz(31.7145, 17.2597, 34.4554)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA319F #31CA5C
analogous
#A931CA #CA319F #CA3152
triadic
#CA319F #9FCA31 #319FCA
tetradic
#CA319F #CAA931 #31CA5C #3152CA
square
#CA319F #CAA931 #31CA5C #3152CA
split-complementary
#CA319F #52CA31 #31CAA9
monochromatic
#671951 #992578 #CA319F #D860B6 #E491CD

Accessibility & contrast

On white

4.72
#CA319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CA319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA319F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA319F#FFFFFF#000000##FFFFFF
##CA319F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A2
Deuteranopia (green-blind)
#717C9C
Tritanopia (blue-blind)
#D73365
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca319f;
/* rgb */ color: rgb(202, 49, 159);
/* oklch */ color: oklch(58.5% 0.216 341.9);
Tailwind
colors: {
  custom: {
    50: '#de79bb',
    500: '#ca319f',
    950: '#000000',
  },
}
SCSS
$custom: #ca319f;
$custom-light: #de79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca319f",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 316.863,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58547,
    "c": 0.21619,
    "h": 341.9
  },
  "luminance": 0.17256
}

Semantic roles & 50–950 ramp

primary
#CA319F
secondary
#88CF9C
accent
#E47144
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA319F

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

Preview Lab → · Contrast checker → · Palette generator →

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