#CA3987#CA3987

#CA3987 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.2% C 0.194 H 351.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CA3987
RGBrgb(202, 57, 135)
HSLhsl(328, 58%, 51%)
HSVhsv(328, 72%, 79%)
CMYKcmyk(0%, 71.8%, 33.2%, 20.8%)
CIE-LABlab(48.56, 62.91, -10.60)
CIE-LCHlch(48.56, 63.80, 350.44°)
OKLaboklab(58.22% 0.1925 -0.0274)
OKLCHoklch(58.22% 0.194 351.9)
XYZxyz(30.1951, 17.2356, 24.6536)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3987 #39CA7C
analogous
#C439CA #CA3987 #CA393E
triadic
#CA3987 #87CA39 #3987CA
tetradic
#CA3987 #CAC439 #39CA7C #393ECA
square
#CA3987 #CAC439 #39CA7C #393ECA
split-complementary
#CA3987 #3ECA39 #39CAC4
monochromatic
#6C1D47 #9C2A67 #CA3987 #D769A4 #E49AC2

Accessibility & contrast

On white

4.72
#CA3987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CA3987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA3987
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3987#FFFFFF#000000##FFFFFF
##CA39871.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526389
Deuteranopia (green-blind)
#7B7D84
Tritanopia (blue-blind)
#D92E5B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca3987;
/* rgb */ color: rgb(202, 57, 135);
/* oklch */ color: oklch(58.2% 0.194 351.9);
Tailwind
colors: {
  custom: {
    50: '#df7baa',
    500: '#ca3987',
    950: '#000000',
  },
}
SCSS
$custom: #ca3987;
$custom-light: #df7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3987",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 327.724,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.19441,
    "h": 351.9
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#CA3987
secondary
#8FD0AD
accent
#E18E47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA3987

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

Preview Lab → · Contrast checker → · Palette generator →

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