#CA8CB7#CA8CB7

#CA8CB7 is a light, moderate pink. Relative luminance 0.347; OKLCH L 71.5% C 0.094 H 338.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CA8CB7
RGBrgb(202, 140, 183)
HSLhsl(318, 37%, 67%)
HSVhsv(318, 31%, 79%)
CMYKcmyk(0%, 30.7%, 9.4%, 20.8%)
CIE-LABlab(65.54, 30.22, -12.96)
CIE-LCHlch(65.54, 32.88, 336.79°)
OKLaboklab(71.48% 0.0874 -0.0345)
OKLCHoklch(71.48% 0.094 338.5)
XYZxyz(42.2822, 34.7335, 49.2676)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CB7 #8CCA9F
analogous
#BE8CCA #CA8CB7 #CA8C98
triadic
#CA8CB7 #B7CA8C #8CB7CA
tetradic
#CA8CB7 #CABE8C #8CCA9F #8C98CA
square
#CA8CB7 #CABE8C #8CCA9F #8C98CA
split-complementary
#CA8CB7 #98CA8C #8CCABE
monochromatic
#96457D #B7629D #CA8CB7 #DDB6D1 #F1E0EB

Accessibility & contrast

On white

2.64
#CA8CB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CA8CB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CB7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CB7#FFFFFF#000000##000000
##CA8CB71.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E99B9
Deuteranopia (green-blind)
#9CA3B5
Tritanopia (blue-blind)
#D18D9B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca8cb7;
/* rgb */ color: rgb(202, 140, 183);
/* oklch */ color: oklch(71.5% 0.094 338.5);
Tailwind
colors: {
  custom: {
    50: '#dbaecc',
    500: '#ca8cb7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cb7;
$custom-light: #dbaecc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cb7",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 183
  },
  "hsl": {
    "h": 318.387,
    "s": 36.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71478,
    "c": 0.09394,
    "h": 338.5
  },
  "luminance": 0.34732
}

Semantic roles & 50–950 ramp

primary
#CA8CB7
secondary
#CFE3D5
accent
#B05B36
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #CA8CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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