#CA387F#CA387F

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

Color values

HEX#CA387F
RGBrgb(202, 56, 127)
HSLhsl(331, 58%, 51%)
HSVhsv(331, 72%, 79%)
CMYKcmyk(0%, 72.3%, 37.1%, 20.8%)
CIE-LABlab(48.16, 62.38, -6.35)
CIE-LCHlch(48.16, 62.70, 354.19°)
OKLaboklab(57.84% 0.1913 -0.0159)
OKLCHoklch(57.84% 0.192 355.2)
XYZxyz(29.6040, 16.9208, 21.7816)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA387F #38CA83
analogous
#CA38C8 #CA387F #CA3A38
triadic
#CA387F #7FCA38 #387FCA
tetradic
#CA387F #C8CA38 #38CA83 #3A38CA
square
#CA387F #C8CA38 #38CA83 #3A38CA
split-complementary
#CA387F #38CA3A #38C8CA
monochromatic
#6B1D43 #9B2961 #CA387F #D7689E #E499BD

Accessibility & contrast

On white

4.79
#CA387F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA387F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA387F#FFFFFF#000000##FFFFFF
##CA387F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546181
Deuteranopia (green-blind)
#7C7C7C
Tritanopia (blue-blind)
#DA2957
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca387f;
/* rgb */ color: rgb(202, 56, 127);
/* oklch */ color: oklch(57.8% 0.192 355.2);
Tailwind
colors: {
  custom: {
    50: '#df7ba4',
    500: '#ca387f',
    950: '#000000',
  },
}
SCSS
$custom: #ca387f;
$custom-light: #df7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca387f",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 330.822,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.19198,
    "h": 355.2
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

primary
#CA387F
secondary
#8ECFB0
accent
#E19647
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA387F

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

Preview Lab → · Contrast checker → · Palette generator →

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