#CA315B#CA315B

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

Color values

HEX#CA315B
RGBrgb(202, 49, 91)
HSLhsl(344, 61%, 49%)
HSVhsv(344, 76%, 79%)
CMYKcmyk(0%, 75.7%, 55%, 20.8%)
CIE-LABlab(46.33, 61.43, 13.06)
CIE-LCHlch(46.33, 62.80, 12.00°)
OKLaboklab(56.16% 0.1864 0.033)
OKLCHoklch(56.16% 0.189 10)
XYZxyz(27.3464, 15.5124, 11.4497)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA315B #31CAA0
analogous
#CA31A8 #CA315B #CA5331
triadic
#CA315B #5BCA31 #315BCA
tetradic
#CA315B #A8CA31 #31CAA0 #5331CA
square
#CA315B #A8CA31 #31CAA0 #5331CA
split-complementary
#CA315B #31CA53 #31A8CA
monochromatic
#67192F #992545 #CA315B #D86081 #E491A8

Accessibility & contrast

On white

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

On black

4.10
#CA315B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA315B#FFFFFF#000000##FFFFFF
##CA315B1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca315b;
/* rgb */ color: rgb(202, 49, 91);
/* oklch */ color: oklch(56.2% 0.189 10.0);
Tailwind
colors: {
  custom: {
    50: '#e17789',
    500: '#ca315b',
    950: '#000000',
  },
}
SCSS
$custom: #ca315b;
$custom-light: #e17789;
$custom-dark: #000000;
JSON
{
  "hex": "#ca315b",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 343.529,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.18926,
    "h": 10
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

primary
#CA315B
secondary
#88CFBB
accent
#E4B844
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CA315B

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

Preview Lab → · Contrast checker → · Palette generator →

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