#CA387B#CA387B

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

Color values

HEX#CA387B
RGBrgb(202, 56, 123)
HSLhsl(332, 58%, 51%)
HSVhsv(332, 72%, 79%)
CMYKcmyk(0%, 72.3%, 39.1%, 20.8%)
CIE-LABlab(48.03, 61.96, -4.11)
CIE-LCHlch(48.03, 62.09, 356.20°)
OKLaboklab(57.7% 0.1901 -0.01)
OKLCHoklch(57.7% 0.19 357)
XYZxyz(29.3484, 16.8186, 20.4359)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA387B #38CA87
analogous
#CA38C4 #CA387B #CA3E38
triadic
#CA387B #7BCA38 #387BCA
tetradic
#CA387B #C4CA38 #38CA87 #3E38CA
square
#CA387B #C4CA38 #38CA87 #3E38CA
split-complementary
#CA387B #38CA3E #38C4CA
monochromatic
#6B1D41 #9B295E #CA387B #D7689B #E499BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA387B#FFFFFF#000000##FFFFFF
##CA387B1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617D
Deuteranopia (green-blind)
#7D7C78
Tritanopia (blue-blind)
#DA2655
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca387b;
/* rgb */ color: rgb(202, 56, 123);
/* oklch */ color: oklch(57.7% 0.190 357.0);
Tailwind
colors: {
  custom: {
    50: '#df7ba1',
    500: '#ca387b',
    950: '#000000',
  },
}
SCSS
$custom: #ca387b;
$custom-light: #df7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca387b",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 332.466,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.577,
    "c": 0.19037,
    "h": 357
  },
  "luminance": 0.16815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA387B

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

Preview Lab → · Contrast checker → · Palette generator →

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