#CA78AA#CA78AA

#CA78AA is a light, moderate pink. Relative luminance 0.289; OKLCH L 67.7% C 0.120 H 343.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#CA78AA
RGBrgb(202, 120, 170)
HSLhsl(323, 44%, 63%)
HSVhsv(323, 41%, 79%)
CMYKcmyk(0%, 40.6%, 15.8%, 20.8%)
CIE-LABlab(60.69, 38.85, -12.88)
CIE-LCHlch(60.69, 40.93, 341.66°)
OKLaboklab(67.65% 0.1146 -0.0341)
OKLCHoklch(67.65% 0.12 343.4)
XYZxyz(38.3297, 28.8942, 41.5807)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78AA #78CA98
analogous
#C178CA #CA78AA #CA7881
triadic
#CA78AA #AACA78 #78AACA
tetradic
#CA78AA #CAC178 #78CA98 #7881CA
square
#CA78AA #CAC178 #78CA98 #7881CA
split-complementary
#CA78AA #81CA78 #78CAC1
monochromatic
#8F386D #B94C8E #CA78AA #DBA4C6 #EDD0E1

Accessibility & contrast

On white

3.10
#CA78AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#CA78AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA78AA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78AA#FFFFFF#000000##000000
##CA78AA1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8AAC
Deuteranopia (green-blind)
#9297A8
Tritanopia (blue-blind)
#D4788A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca78aa;
/* rgb */ color: rgb(202, 120, 170);
/* oklch */ color: oklch(67.7% 0.120 343.4);
Tailwind
colors: {
  custom: {
    50: '#dca0c3',
    500: '#ca78aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca78aa;
$custom-light: #dca0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78aa",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 323.415,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6765,
    "c": 0.11959,
    "h": 343.4
  },
  "luminance": 0.28892
}

Semantic roles & 50–950 ramp

primary
#CA78AA
secondary
#C0DECC
accent
#B7642F
background
#FDFAFB
surface
#FBF3F7
border
#D4CDD0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA78AA

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

Preview Lab → · Contrast checker → · Palette generator →

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