#CA315C#CA315C

#CA315C is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.189 H 9.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CA315C
RGBrgb(202, 49, 92)
HSLhsl(343, 61%, 49%)
HSVhsv(343, 76%, 79%)
CMYKcmyk(0%, 75.7%, 54.5%, 20.8%)
CIE-LABlab(46.35, 61.50, 12.48)
CIE-LCHlch(46.35, 62.75, 11.47°)
OKLaboklab(56.18% 0.1867 0.0316)
OKLCHoklch(56.18% 0.189 9.6)
XYZxyz(27.3898, 15.5298, 11.6784)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA315C #31CA9F
analogous
#CA31A9 #CA315C #CA5231
triadic
#CA315C #5CCA31 #315CCA
tetradic
#CA315C #A9CA31 #31CA9F #5231CA
square
#CA315C #A9CA31 #31CA9F #5231CA
split-complementary
#CA315C #31CA52 #31A9CA
monochromatic
#67192F #992546 #CA315C #D86082 #E491A8

Accessibility & contrast

On white

5.12
#CA315C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#CA315C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA315C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA315C#FFFFFF#000000##FFFFFF
##CA315C1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595A5D
Deuteranopia (green-blind)
#817958
Tritanopia (blue-blind)
#DD0043
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca315c;
/* rgb */ color: rgb(202, 49, 92);
/* oklch */ color: oklch(56.2% 0.189 9.6);
Tailwind
colors: {
  custom: {
    50: '#e17789',
    500: '#ca315c',
    950: '#000000',
  },
}
SCSS
$custom: #ca315c;
$custom-light: #e17789;
$custom-dark: #000000;
JSON
{
  "hex": "#ca315c",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 343.137,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.1894,
    "h": 9.6
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#CA315C
secondary
#88CFBB
accent
#E4B744
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CA315C

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

Preview Lab → · Contrast checker → · Palette generator →

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