#CA335A#CA335A

#CA335A is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.3% C 0.187 H 10.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CA335A
RGBrgb(202, 51, 90)
HSLhsl(345, 60%, 50%)
HSVhsv(345, 75%, 79%)
CMYKcmyk(0%, 74.8%, 55.4%, 20.8%)
CIE-LABlab(46.53, 60.71, 13.96)
CIE-LCHlch(46.53, 62.30, 12.95°)
OKLaboklab(56.3% 0.1839 0.0352)
OKLCHoklch(56.3% 0.187 10.8)
XYZxyz(27.3890, 15.6663, 11.2526)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA335A #33CAA3
analogous
#CA33A6 #CA335A #CA5733
triadic
#CA335A #5ACA33 #335ACA
tetradic
#CA335A #A6CA33 #33CAA3 #5733CA
square
#CA335A #A6CA33 #33CAA3 #5733CA
split-complementary
#CA335A #33CA57 #33A6CA
monochromatic
#681A2E #992744 #CA335A #D86381 #E494A8

Accessibility & contrast

On white

5.08
#CA335A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#CA335A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA335A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA335A#FFFFFF#000000##FFFFFF
##CA335A1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5B5B
Deuteranopia (green-blind)
#827956
Tritanopia (blue-blind)
#DD0043
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca335a;
/* rgb */ color: rgb(202, 51, 90);
/* oklch */ color: oklch(56.3% 0.187 10.8);
Tailwind
colors: {
  custom: {
    50: '#e17788',
    500: '#ca335a',
    950: '#000000',
  },
}
SCSS
$custom: #ca335a;
$custom-light: #e17788;
$custom-dark: #000000;
JSON
{
  "hex": "#ca335a",
  "rgb": {
    "r": 202,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 344.503,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.18725,
    "h": 10.8
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#CA335A
secondary
#8ACFBD
accent
#E3BA45
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CA335A

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

Preview Lab → · Contrast checker → · Palette generator →

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