#CA3978#CA3978

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

Color values

HEX#CA3978
RGBrgb(202, 57, 120)
HSLhsl(334, 58%, 51%)
HSVhsv(334, 72%, 79%)
CMYKcmyk(0%, 71.8%, 40.6%, 20.8%)
CIE-LABlab(48.06, 61.30, -2.24)
CIE-LCHlch(48.06, 61.34, 357.91°)
OKLaboklab(57.69% 0.1881 -0.0051)
OKLCHoklch(57.69% 0.188 358.4)
XYZxyz(29.2125, 16.8425, 19.4783)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3978 #39CA8B
analogous
#CA39C0 #CA3978 #CA4239
triadic
#CA3978 #78CA39 #3978CA
tetradic
#CA3978 #C0CA39 #39CA8B #4239CA
square
#CA3978 #C0CA39 #39CA8B #4239CA
split-complementary
#CA3978 #39CA42 #39C0CA
monochromatic
#6C1D3F #9C2A5B #CA3978 #D76999 #E49ABA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA3978#FFFFFF#000000##FFFFFF
##CA39781.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca3978;
/* rgb */ color: rgb(202, 57, 120);
/* oklch */ color: oklch(57.7% 0.188 358.4);
Tailwind
colors: {
  custom: {
    50: '#df7b9e',
    500: '#ca3978',
    950: '#000000',
  },
}
SCSS
$custom: #ca3978;
$custom-light: #df7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3978",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 333.931,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.18814,
    "h": 358.4
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#CA3978
secondary
#8FD0B4
accent
#E19E47
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA3978

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

Preview Lab → · Contrast checker → · Palette generator →

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