#CA387E#CA387E

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

Color values

HEX#CA387E
RGBrgb(202, 56, 126)
HSLhsl(331, 58%, 51%)
HSVhsv(331, 72%, 79%)
CMYKcmyk(0%, 72.3%, 37.6%, 20.8%)
CIE-LABlab(48.13, 62.27, -5.79)
CIE-LCHlch(48.13, 62.54, 354.69°)
OKLaboklab(57.8% 0.191 -0.0145)
OKLCHoklch(57.8% 0.192 355.7)
XYZxyz(29.5391, 16.8949, 21.4401)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA387E #38CA84
analogous
#CA38C7 #CA387E #CA3B38
triadic
#CA387E #7ECA38 #387ECA
tetradic
#CA387E #C7CA38 #38CA84 #3B38CA
square
#CA387E #C7CA38 #38CA84 #3B38CA
split-complementary
#CA387E #38CA3B #38C7CA
monochromatic
#6B1D42 #9B2960 #CA387E #D7689D #E499BD

Accessibility & contrast

On white

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

On black

4.38
#CA387E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA387E#FFFFFF#000000##FFFFFF
##CA387E1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546180
Deuteranopia (green-blind)
#7D7C7B
Tritanopia (blue-blind)
#DA2856
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca387e;
/* rgb */ color: rgb(202, 56, 126);
/* oklch */ color: oklch(57.8% 0.192 355.7);
Tailwind
colors: {
  custom: {
    50: '#df7ba3',
    500: '#ca387e',
    950: '#000000',
  },
}
SCSS
$custom: #ca387e;
$custom-light: #df7ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca387e",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 331.233,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57803,
    "c": 0.19157,
    "h": 355.7
  },
  "luminance": 0.16891
}

Semantic roles & 50–950 ramp

primary
#CA387E
secondary
#8ECFB0
accent
#E19747
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA387E

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

Preview Lab → · Contrast checker → · Palette generator →

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