#CA81BC#CA81BC

#CA81BC is a light, moderate pink. Relative luminance 0.319; OKLCH L 69.8% C 0.118 H 334.0°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CA81BC
RGBrgb(202, 129, 188)
HSLhsl(312, 41%, 65%)
HSVhsv(312, 36%, 79%)
CMYKcmyk(0%, 36.1%, 6.9%, 20.8%)
CIE-LABlab(63.25, 37.06, -19.24)
CIE-LCHlch(63.25, 41.75, 332.57°)
OKLaboklab(69.79% 0.106 -0.0517)
OKLCHoklch(69.79% 0.118 334)
XYZxyz(41.2841, 31.8899, 51.5480)
Luminance0.3189 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81BC #81CA8F
analogous
#B481CA #CA81BC #CA8197
triadic
#CA81BC #BCCA81 #81BCCA
tetradic
#CA81BC #CAB481 #81CA8F #8197CA
square
#CA81BC #CAB481 #81CA8F #8197CA
split-complementary
#CA81BC #97CA81 #81CAB4
monochromatic
#933E83 #B856A5 #CA81BC #DCACD3 #EED7EA

Accessibility & contrast

On white

2.85
#CA81BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CA81BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81BC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81BC#FFFFFF#000000##000000
##CA81BC1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8193BE
Deuteranopia (green-blind)
#939DBA
Tritanopia (blue-blind)
#D18497
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca81bc;
/* rgb */ color: rgb(202, 129, 188);
/* oklch */ color: oklch(69.8% 0.118 334.0);
Tailwind
colors: {
  custom: {
    50: '#dba7d0',
    500: '#ca81bc',
    950: '#000000',
  },
}
SCSS
$custom: #ca81bc;
$custom-light: #dba7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81bc",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 311.507,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69794,
    "c": 0.11792,
    "h": 334
  },
  "luminance": 0.31888
}

Semantic roles & 50–950 ramp

primary
#CA81BC
secondary
#C7E0CC
accent
#B44B32
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA81BC

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

Preview Lab → · Contrast checker → · Palette generator →

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