#CA7DB2#CA7DB2

#CA7DB2 is a light, moderate pink. Relative luminance 0.304; OKLCH L 68.8% C 0.117 H 339.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CA7DB2
RGBrgb(202, 125, 178)
HSLhsl(319, 42%, 64%)
HSVhsv(319, 38%, 79%)
CMYKcmyk(0%, 38.1%, 11.9%, 20.8%)
CIE-LABlab(62.03, 37.49, -15.42)
CIE-LCHlch(62.03, 40.54, 337.65°)
OKLaboklab(68.76% 0.1093 -0.0411)
OKLCHoklch(68.76% 0.117 339.4)
XYZxyz(39.7267, 30.4404, 45.8939)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DB2 #7DCA95
analogous
#BC7DCA #CA7DB2 #CA7D8C
triadic
#CA7DB2 #B2CA7D #7DB2CA
tetradic
#CA7DB2 #CABC7D #7DCA95 #7D8CCA
square
#CA7DB2 #CABC7D #7DCA95 #7D8CCA
split-complementary
#CA7DB2 #8CCA7D #7DCABC
monochromatic
#913B77 #B85298 #CA7DB2 #DCA8CC #EDD4E6

Accessibility & contrast

On white

2.96
#CA7DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CA7DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DB2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DB2#FFFFFF#000000##000000
##CA7DB21.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7db2;
/* rgb */ color: rgb(202, 125, 178);
/* oklch */ color: oklch(68.8% 0.117 339.4);
Tailwind
colors: {
  custom: {
    50: '#dba4c9',
    500: '#ca7db2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7db2;
$custom-light: #dba4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7db2",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 318.701,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68756,
    "c": 0.11673,
    "h": 339.4
  },
  "luminance": 0.30438
}

Semantic roles & 50–950 ramp

primary
#CA7DB2
secondary
#C4DFCC
accent
#B55A30
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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