#CA387C#CA387C

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

Color values

HEX#CA387C
RGBrgb(202, 56, 124)
HSLhsl(332, 58%, 51%)
HSVhsv(332, 72%, 79%)
CMYKcmyk(0%, 72.3%, 38.6%, 20.8%)
CIE-LABlab(48.06, 62.06, -4.67)
CIE-LCHlch(48.06, 62.23, 355.69°)
OKLaboklab(57.73% 0.1904 -0.0115)
OKLCHoklch(57.73% 0.191 356.5)
XYZxyz(29.4114, 16.8438, 20.7672)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA387C #38CA86
analogous
#CA38C5 #CA387C #CA3D38
triadic
#CA387C #7CCA38 #387CCA
tetradic
#CA387C #C5CA38 #38CA86 #3D38CA
square
#CA387C #C5CA38 #38CA86 #3D38CA
split-complementary
#CA387C #38CA3D #38C5CA
monochromatic
#6B1D41 #9B295E #CA387C #D7689C #E499BC

Accessibility & contrast

On white

4.81
#CA387C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CA387C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA387C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA387C#FFFFFF#000000##FFFFFF
##CA387C1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617E
Deuteranopia (green-blind)
#7D7C79
Tritanopia (blue-blind)
#DA2755
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca387c;
/* rgb */ color: rgb(202, 56, 124);
/* oklch */ color: oklch(57.7% 0.191 356.5);
Tailwind
colors: {
  custom: {
    50: '#df7ba1',
    500: '#ca387c',
    950: '#000000',
  },
}
SCSS
$custom: #ca387c;
$custom-light: #df7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca387c",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 332.055,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57734,
    "c": 0.19077,
    "h": 356.5
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#CA387C
secondary
#8ECFB1
accent
#E19947
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA387C

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

Preview Lab → · Contrast checker → · Palette generator →

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