#CA387A#CA387A

#CA387A is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.7% C 0.190 H 357.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CA387A
RGBrgb(202, 56, 122)
HSLhsl(333, 58%, 51%)
HSVhsv(333, 72%, 79%)
CMYKcmyk(0%, 72.3%, 39.6%, 20.8%)
CIE-LABlab(48.00, 61.85, -3.55)
CIE-LCHlch(48.00, 61.95, 356.71°)
OKLaboklab(57.67% 0.1898 -0.0085)
OKLCHoklch(57.67% 0.19 357.4)
XYZxyz(29.2862, 16.7937, 20.1079)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA387A #38CA88
analogous
#CA38C3 #CA387A #CA3F38
triadic
#CA387A #7ACA38 #387ACA
tetradic
#CA387A #C3CA38 #38CA88 #3F38CA
square
#CA387A #C3CA38 #38CA88 #3F38CA
split-complementary
#CA387A #38CA3F #38C3CA
monochromatic
#6B1D40 #9B295D #CA387A #D7689A #E499BB

Accessibility & contrast

On white

4.82
#CA387A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CA387A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA387A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA387A#FFFFFF#000000##FFFFFF
##CA387A1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607C
Deuteranopia (green-blind)
#7D7C77
Tritanopia (blue-blind)
#DA2654
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca387a;
/* rgb */ color: rgb(202, 56, 122);
/* oklch */ color: oklch(57.7% 0.190 357.4);
Tailwind
colors: {
  custom: {
    50: '#df7ba0',
    500: '#ca387a',
    950: '#000000',
  },
}
SCSS
$custom: #ca387a;
$custom-light: #df7ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca387a",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 332.877,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57667,
    "c": 0.18999,
    "h": 357.4
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#CA387A
secondary
#8ECFB2
accent
#E19B47
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA387A

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

Preview Lab → · Contrast checker → · Palette generator →

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