#CA78BC#CA78BC

#CA78BC is a light, vivid pink. Relative luminance 0.296; OKLCH L 68.3% C 0.134 H 333.4°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#CA78BC
RGBrgb(202, 120, 188)
HSLhsl(310, 44%, 63%)
HSVhsv(310, 41%, 79%)
CMYKcmyk(0%, 40.6%, 6.9%, 20.8%)
CIE-LABlab(61.33, 41.86, -22.17)
CIE-LCHlch(61.33, 47.37, 332.09°)
OKLaboklab(68.34% 0.1197 -0.0598)
OKLCHoklch(68.34% 0.134 333.4)
XYZxyz(40.1504, 29.6225, 51.1701)
Luminance0.2962 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78BC #78CA86
analogous
#AF78CA #CA78BC #CA7893
triadic
#CA78BC #BCCA78 #78BCCA
tetradic
#CA78BC #CAAF78 #78CA86 #7893CA
square
#CA78BC #CAAF78 #78CA86 #7893CA
split-complementary
#CA78BC #93CA78 #78CAAF
monochromatic
#8F3880 #B94CA6 #CA78BC #DBA4D2 #EDD0E8

Accessibility & contrast

On white

3.03
#CA78BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#CA78BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA78BC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78BC#FFFFFF#000000##000000
##CA78BC1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#778DBE
Deuteranopia (green-blind)
#8C98BA
Tritanopia (blue-blind)
#D17C92
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca78bc;
/* rgb */ color: rgb(202, 120, 188);
/* oklch */ color: oklch(68.3% 0.134 333.4);
Tailwind
colors: {
  custom: {
    50: '#dba1d0',
    500: '#ca78bc',
    950: '#000000',
  },
}
SCSS
$custom: #ca78bc;
$custom-light: #dba1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78bc",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 310.244,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68342,
    "c": 0.13382,
    "h": 333.4
  },
  "luminance": 0.2962
}

Semantic roles & 50–950 ramp

primary
#CA78BC
secondary
#C0DEC5
accent
#B7462F
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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