#CA3158#CA3158

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

Color values

HEX#CA3158
RGBrgb(202, 49, 88)
HSLhsl(345, 61%, 49%)
HSVhsv(345, 76%, 79%)
CMYKcmyk(0%, 75.7%, 56.4%, 20.8%)
CIE-LABlab(46.26, 61.21, 14.82)
CIE-LCHlch(46.26, 62.98, 13.61°)
OKLaboklab(56.09% 0.1852 0.0371)
OKLCHoklch(56.09% 0.189 11.3)
XYZxyz(27.2195, 15.4617, 10.7817)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3158 #31CAA3
analogous
#CA31A5 #CA3158 #CA5731
triadic
#CA3158 #58CA31 #3158CA
tetradic
#CA3158 #A5CA31 #31CAA3 #5731CA
square
#CA3158 #A5CA31 #31CAA3 #5731CA
split-complementary
#CA3158 #31CA57 #31A5CA
monochromatic
#67192D #992543 #CA3158 #D8607F #E491A6

Accessibility & contrast

On white

5.13
#CA3158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#CA3158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA3158
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3158#FFFFFF#000000##FFFFFF
##CA31581.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5A59
Deuteranopia (green-blind)
#817954
Tritanopia (blue-blind)
#DD0042
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca3158;
/* rgb */ color: rgb(202, 49, 88);
/* oklch */ color: oklch(56.1% 0.189 11.3);
Tailwind
colors: {
  custom: {
    50: '#e17786',
    500: '#ca3158',
    950: '#000000',
  },
}
SCSS
$custom: #ca3158;
$custom-light: #e17786;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3158",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 344.706,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56086,
    "c": 0.18889,
    "h": 11.3
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#CA3158
secondary
#88CFBD
accent
#E4BB44
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CA3158

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

Preview Lab → · Contrast checker → · Palette generator →

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