#CA7DBA#CA7DBA

#CA7DBA is a light, vivid pink. Relative luminance 0.308; OKLCH L 69.1% C 0.123 H 334.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CA7DBA
RGBrgb(202, 125, 186)
HSLhsl(312, 42%, 64%)
HSVhsv(312, 38%, 79%)
CMYKcmyk(0%, 38.1%, 7.9%, 20.8%)
CIE-LABlab(62.31, 38.85, -19.53)
CIE-LCHlch(62.31, 43.49, 333.31°)
OKLaboklab(69.06% 0.1116 -0.0525)
OKLCHoklch(69.06% 0.123 334.8)
XYZxyz(40.5534, 30.7711, 50.2482)
Luminance0.3077 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DBA #7DCA8D
analogous
#B47DCA #CA7DBA #CA7D94
triadic
#CA7DBA #BACA7D #7DBACA
tetradic
#CA7DBA #CAB47D #7DCA8D #7D94CA
square
#CA7DBA #CAB47D #7DCA8D #7D94CA
split-complementary
#CA7DBA #94CA7D #7DCAB4
monochromatic
#913B7F #B852A3 #CA7DBA #DCA8D1 #EDD4E8

Accessibility & contrast

On white

2.94
#CA7DBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CA7DBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DBA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DBA#FFFFFF#000000##000000
##CA7DBA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D90BC
Deuteranopia (green-blind)
#919BB8
Tritanopia (blue-blind)
#D18093
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7dba;
/* rgb */ color: rgb(202, 125, 186);
/* oklch */ color: oklch(69.1% 0.123 334.8);
Tailwind
colors: {
  custom: {
    50: '#dba4ce',
    500: '#ca7dba',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dba;
$custom-light: #dba4ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dba",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 186
  },
  "hsl": {
    "h": 312.468,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69062,
    "c": 0.1233,
    "h": 334.8
  },
  "luminance": 0.30769
}

Semantic roles & 50–950 ramp

primary
#CA7DBA
secondary
#C4DFCA
accent
#B54C30
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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