#CA387D#CA387D

#CA387D is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.8% C 0.191 H 356.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CA387D
RGBrgb(202, 56, 125)
HSLhsl(332, 58%, 51%)
HSVhsv(332, 72%, 79%)
CMYKcmyk(0%, 72.3%, 38.1%, 20.8%)
CIE-LABlab(48.09, 62.16, -5.23)
CIE-LCHlch(48.09, 62.38, 355.19°)
OKLaboklab(57.77% 0.1907 -0.013)
OKLCHoklch(57.77% 0.191 356.1)
XYZxyz(29.4749, 16.8692, 21.1020)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA387D #38CA85
analogous
#CA38C6 #CA387D #CA3C38
triadic
#CA387D #7DCA38 #387DCA
tetradic
#CA387D #C6CA38 #38CA85 #3C38CA
square
#CA387D #C6CA38 #38CA85 #3C38CA
split-complementary
#CA387D #38CA3C #38C6CA
monochromatic
#6B1D42 #9B295F #CA387D #D7689D #E499BC

Accessibility & contrast

On white

4.80
#CA387D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA387D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA387D#FFFFFF#000000##FFFFFF
##CA387D1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54617F
Deuteranopia (green-blind)
#7D7C7A
Tritanopia (blue-blind)
#DA2856
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca387d;
/* rgb */ color: rgb(202, 56, 125);
/* oklch */ color: oklch(57.8% 0.191 356.1);
Tailwind
colors: {
  custom: {
    50: '#df7ba2',
    500: '#ca387d',
    950: '#000000',
  },
}
SCSS
$custom: #ca387d;
$custom-light: #df7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca387d",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 331.644,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.19116,
    "h": 356.1
  },
  "luminance": 0.16866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA387D

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

Preview Lab → · Contrast checker → · Palette generator →

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