#CA7DB7#CA7DB7

#CA7DB7 is a light, vivid pink. Relative luminance 0.306; OKLCH L 68.9% C 0.121 H 336.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CA7DB7
RGBrgb(202, 125, 183)
HSLhsl(315, 42%, 64%)
HSVhsv(315, 38%, 79%)
CMYKcmyk(0%, 38.1%, 9.4%, 20.8%)
CIE-LABlab(62.21, 38.34, -17.99)
CIE-LCHlch(62.21, 42.35, 334.86°)
OKLaboklab(68.95% 0.1107 -0.0482)
OKLCHoklch(68.95% 0.121 336.5)
XYZxyz(40.2379, 30.6448, 48.5862)
Luminance0.3064 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DB7 #7DCA90
analogous
#B77DCA #CA7DB7 #CA7D91
triadic
#CA7DB7 #B7CA7D #7DB7CA
tetradic
#CA7DB7 #CAB77D #7DCA90 #7D91CA
square
#CA7DB7 #CAB77D #7DCA90 #7D91CA
split-complementary
#CA7DB7 #91CA7D #7DCAB7
monochromatic
#913B7C #B8529F #CA7DB7 #DCA8CF #EDD4E7

Accessibility & contrast

On white

2.95
#CA7DB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CA7DB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DB7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DB7#FFFFFF#000000##000000
##CA7DB71.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8FB9
Deuteranopia (green-blind)
#929BB5
Tritanopia (blue-blind)
#D28092
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7db7;
/* rgb */ color: rgb(202, 125, 183);
/* oklch */ color: oklch(68.9% 0.121 336.5);
Tailwind
colors: {
  custom: {
    50: '#dba4cc',
    500: '#ca7db7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7db7;
$custom-light: #dba4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7db7",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 183
  },
  "hsl": {
    "h": 314.805,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68945,
    "c": 0.12076,
    "h": 336.5
  },
  "luminance": 0.30643
}

Semantic roles & 50–950 ramp

primary
#CA7DB7
secondary
#C4DFCB
accent
#B55130
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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