#CA3781#CA3781

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

Color values

HEX#CA3781
RGBrgb(202, 55, 129)
HSLhsl(330, 58%, 50%)
HSVhsv(330, 73%, 79%)
CMYKcmyk(0%, 72.8%, 36.1%, 20.8%)
CIE-LABlab(48.11, 62.93, -7.64)
CIE-LCHlch(48.11, 63.39, 353.07°)
OKLaboklab(57.82% 0.193 -0.0194)
OKLCHoklch(57.82% 0.194 354.3)
XYZxyz(29.6876, 16.8775, 22.4589)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3781 #37CA80
analogous
#CA37CA #CA3781 #CA3737
triadic
#CA3781 #81CA37 #3781CA
tetradic
#CA3781 #CACA37 #37CA80 #3737CA
square
#CA3781 #CACA37 #37CA80 #3737CA
split-complementary
#CA3781 #37CA37 #37CACA
monochromatic
#6A1C44 #9B2962 #CA3781 #D7679F #E498BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA3781#FFFFFF#000000##FFFFFF
##CA37811.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)
#526183
Deuteranopia (green-blind)
#7B7C7E
Tritanopia (blue-blind)
#DA2857
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca3781;
/* rgb */ color: rgb(202, 55, 129);
/* oklch */ color: oklch(57.8% 0.194 354.3);
Tailwind
colors: {
  custom: {
    50: '#df7aa5',
    500: '#ca3781',
    950: '#000000',
  },
}
SCSS
$custom: #ca3781;
$custom-light: #df7aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3781",
  "rgb": {
    "r": 202,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 329.796,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5782,
    "c": 0.19395,
    "h": 354.3
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

primary
#CA3781
secondary
#8ECFAE
accent
#E19346
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA3781

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

Preview Lab → · Contrast checker → · Palette generator →

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