#CA3A78#CA3A78

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

Color values

HEX#CA3A78
RGBrgb(202, 58, 120)
HSLhsl(334, 58%, 51%)
HSVhsv(334, 71%, 79%)
CMYKcmyk(0%, 71.3%, 40.6%, 20.8%)
CIE-LABlab(48.19, 60.95, -2.06)
CIE-LCHlch(48.19, 60.98, 358.07°)
OKLaboklab(57.79% 0.187 -0.0046)
OKLCHoklch(57.79% 0.187 358.6)
XYZxyz(29.2624, 16.9424, 19.4949)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3A78 #3ACA8C
analogous
#CA3AC0 #CA3A78 #CA443A
triadic
#CA3A78 #78CA3A #3A78CA
tetradic
#CA3A78 #C0CA3A #3ACA8C #443ACA
square
#CA3A78 #C0CA3A #3ACA8C #443ACA
split-complementary
#CA3A78 #3ACA44 #3AC0CA
monochromatic
#6C1D3F #9D2A5B #CA3A78 #D76A99 #E49ABA

Accessibility & contrast

On white

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

On black

4.39
#CA3A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA3A78#FFFFFF#000000##FFFFFF
##CA3A781.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617A
Deuteranopia (green-blind)
#7F7C75
Tritanopia (blue-blind)
#DA2854
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca3a78;
/* rgb */ color: rgb(202, 58, 120);
/* oklch */ color: oklch(57.8% 0.187 358.6);
Tailwind
colors: {
  custom: {
    50: '#df7b9e',
    500: '#ca3a78',
    950: '#000000',
  },
}
SCSS
$custom: #ca3a78;
$custom-light: #df7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3a78",
  "rgb": {
    "r": 202,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 334.167,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57785,
    "c": 0.18701,
    "h": 358.6
  },
  "luminance": 0.16939
}

Semantic roles & 50–950 ramp

primary
#CA3A78
secondary
#90D0B4
accent
#E19F47
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA3A78

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

Preview Lab → · Contrast checker → · Palette generator →

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