#CA315D#CA315D

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

Color values

HEX#CA315D
RGBrgb(202, 49, 93)
HSLhsl(343, 61%, 49%)
HSVhsv(343, 76%, 79%)
CMYKcmyk(0%, 75.7%, 54%, 20.8%)
CIE-LABlab(46.38, 61.58, 11.89)
CIE-LCHlch(46.38, 62.72, 10.93°)
OKLaboklab(56.21% 0.1871 0.0303)
OKLCHoklch(56.21% 0.19 9.2)
XYZxyz(27.4338, 15.5474, 11.9102)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA315D #31CA9E
analogous
#CA31AA #CA315D #CA5231
triadic
#CA315D #5DCA31 #315DCA
tetradic
#CA315D #AACA31 #31CA9E #5231CA
square
#CA315D #AACA31 #31CA9E #5231CA
split-complementary
#CA315D #31CA52 #31AACA
monochromatic
#671930 #992546 #CA315D #D86082 #E491A9

Accessibility & contrast

On white

5.11
#CA315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA315D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA315D#FFFFFF#000000##FFFFFF
##CA315D1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595A5E
Deuteranopia (green-blind)
#817959
Tritanopia (blue-blind)
#DD0044
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca315d;
/* rgb */ color: rgb(202, 49, 93);
/* oklch */ color: oklch(56.2% 0.190 9.2);
Tailwind
colors: {
  custom: {
    50: '#e1778a',
    500: '#ca315d',
    950: '#000000',
  },
}
SCSS
$custom: #ca315d;
$custom-light: #e1778a;
$custom-dark: #000000;
JSON
{
  "hex": "#ca315d",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 342.745,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.18954,
    "h": 9.2
  },
  "luminance": 0.15543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA315D

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

Preview Lab → · Contrast checker → · Palette generator →

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