#CA78B2#CA78B2

#CA78B2 is a light, vivid pink. Relative luminance 0.292; OKLCH L 67.9% C 0.126 H 338.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#CA78B2
RGBrgb(202, 120, 178)
HSLhsl(318, 44%, 63%)
HSVhsv(318, 41%, 79%)
CMYKcmyk(0%, 40.6%, 11.9%, 20.8%)
CIE-LABlab(60.96, 40.16, -17.04)
CIE-LCHlch(60.96, 43.62, 337.01°)
OKLaboklab(67.95% 0.117 -0.0455)
OKLCHoklch(67.95% 0.126 338.7)
XYZxyz(39.1096, 29.2061, 45.6882)
Luminance0.2920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78B2 #78CA90
analogous
#B978CA #CA78B2 #CA7889
triadic
#CA78B2 #B2CA78 #78B2CA
tetradic
#CA78B2 #CAB978 #78CA90 #7889CA
square
#CA78B2 #CAB978 #78CA90 #7889CA
split-complementary
#CA78B2 #89CA78 #78CAB9
monochromatic
#8F3876 #B94C99 #CA78B2 #DBA4CB #EDD0E4

Accessibility & contrast

On white

3.07
#CA78B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#CA78B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA78B2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78B2#FFFFFF#000000##000000
##CA78B21.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB4
Deuteranopia (green-blind)
#9098B0
Tritanopia (blue-blind)
#D27A8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca78b2;
/* rgb */ color: rgb(202, 120, 178);
/* oklch */ color: oklch(67.9% 0.126 338.7);
Tailwind
colors: {
  custom: {
    50: '#dba1c9',
    500: '#ca78b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca78b2;
$custom-light: #dba1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78b2",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 317.561,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67948,
    "c": 0.12555,
    "h": 338.7
  },
  "luminance": 0.29204
}

Semantic roles & 50–950 ramp

primary
#CA78B2
secondary
#C0DEC9
accent
#B7572F
background
#FDFAFC
surface
#FBF3F8
border
#D4CDD1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA78B2

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

Preview Lab → · Contrast checker → · Palette generator →

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