#CA7CB4#CA7CB4

#CA7CB4 is a light, vivid pink. Relative luminance 0.303; OKLCH L 68.7% C 0.120 H 338.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CA7CB4
RGBrgb(202, 124, 180)
HSLhsl(317, 42%, 64%)
HSVhsv(317, 39%, 79%)
CMYKcmyk(0%, 38.6%, 10.9%, 20.8%)
CIE-LABlab(61.89, 38.36, -16.78)
CIE-LCHlch(61.89, 41.87, 336.38°)
OKLaboklab(68.67% 0.1114 -0.0448)
OKLCHoklch(68.67% 0.12 338.1)
XYZxyz(39.8030, 30.2693, 46.9172)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CB4 #7CCA92
analogous
#B97CCA #CA7CB4 #CA7C8D
triadic
#CA7CB4 #B4CA7C #7CB4CA
tetradic
#CA7CB4 #CAB97C #7CCA92 #7C8DCA
square
#CA7CB4 #CAB97C #7CCA92 #7C8DCA
split-complementary
#CA7CB4 #8DCA7C #7CCAB9
monochromatic
#913B79 #B8509B #CA7CB4 #DCA8CD #EDD3E6

Accessibility & contrast

On white

2.98
#CA7CB4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CA7CB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CB4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CB4#FFFFFF#000000##000000
##CA7CB41.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8EB6
Deuteranopia (green-blind)
#929AB2
Tritanopia (blue-blind)
#D27E90
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca7cb4;
/* rgb */ color: rgb(202, 124, 180);
/* oklch */ color: oklch(68.7% 0.120 338.1);
Tailwind
colors: {
  custom: {
    50: '#dba3ca',
    500: '#ca7cb4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cb4;
$custom-light: #dba3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cb4",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 180
  },
  "hsl": {
    "h": 316.923,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68668,
    "c": 0.12009,
    "h": 338.1
  },
  "luminance": 0.30267
}

Semantic roles & 50–950 ramp

primary
#CA7CB4
secondary
#C3DFCB
accent
#B55630
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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