#CA7DB1#CA7DB1

#CA7DB1 is a light, moderate pink. Relative luminance 0.304; OKLCH L 68.7% C 0.116 H 340.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CA7DB1
RGBrgb(202, 125, 177)
HSLhsl(319, 42%, 64%)
HSVhsv(319, 38%, 79%)
CMYKcmyk(0%, 38.1%, 12.4%, 20.8%)
CIE-LABlab(62.00, 37.33, -14.90)
CIE-LCHlch(62.00, 40.19, 338.24°)
OKLaboklab(68.72% 0.109 -0.0397)
OKLCHoklch(68.72% 0.116 340)
XYZxyz(39.6266, 30.4003, 45.3671)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DB1 #7DCA96
analogous
#BD7DCA #CA7DB1 #CA7D8B
triadic
#CA7DB1 #B1CA7D #7DB1CA
tetradic
#CA7DB1 #CABD7D #7DCA96 #7D8BCA
square
#CA7DB1 #CABD7D #7DCA96 #7D8BCA
split-complementary
#CA7DB1 #8BCA7D #7DCABD
monochromatic
#913B75 #B85297 #CA7DB1 #DCA8CB #EDD4E5

Accessibility & contrast

On white

2.97
#CA7DB1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CA7DB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DB1
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DB1#FFFFFF#000000##000000
##CA7DB11.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#808EB3
Deuteranopia (green-blind)
#939AAF
Tritanopia (blue-blind)
#D27E90
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7db1;
/* rgb */ color: rgb(202, 125, 177);
/* oklch */ color: oklch(68.7% 0.116 340.0);
Tailwind
colors: {
  custom: {
    50: '#dba4c8',
    500: '#ca7db1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7db1;
$custom-light: #dba4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7db1",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 177
  },
  "hsl": {
    "h": 319.481,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68719,
    "c": 0.11596,
    "h": 340
  },
  "luminance": 0.30398
}

Semantic roles & 50–950 ramp

primary
#CA7DB1
secondary
#C4DFCD
accent
#B55B30
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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