#CA7CB7#CA7CB7

#CA7CB7 is a light, vivid pink. Relative luminance 0.304; OKLCH L 68.8% C 0.123 H 336.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CA7CB7
RGBrgb(202, 124, 183)
HSLhsl(315, 42%, 64%)
HSVhsv(315, 39%, 79%)
CMYKcmyk(0%, 38.6%, 9.4%, 20.8%)
CIE-LABlab(61.99, 38.87, -18.32)
CIE-LCHlch(61.99, 42.97, 334.77°)
OKLaboklab(68.78% 0.1123 -0.0491)
OKLCHoklch(68.78% 0.123 336.4)
XYZxyz(40.1119, 30.3929, 48.5442)
Luminance0.3039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CB7 #7CCA8F
analogous
#B67CCA #CA7CB7 #CA7C90
triadic
#CA7CB7 #B7CA7C #7CB7CA
tetradic
#CA7CB7 #CAB67C #7CCA8F #7C90CA
square
#CA7CB7 #CAB67C #7CCA8F #7C90CA
split-complementary
#CA7CB7 #90CA7C #7CCAB6
monochromatic
#913B7C #B8509F #CA7CB7 #DCA8CF #EDD3E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7CB7#FFFFFF#000000##000000
##CA7CB71.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)
#7D8FB9
Deuteranopia (green-blind)
#919AB5
Tritanopia (blue-blind)
#D27F92
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7cb7;
/* rgb */ color: rgb(202, 124, 183);
/* oklch */ color: oklch(68.8% 0.123 336.4);
Tailwind
colors: {
  custom: {
    50: '#dba3cc',
    500: '#ca7cb7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cb7;
$custom-light: #dba3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cb7",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 183
  },
  "hsl": {
    "h": 314.615,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68783,
    "c": 0.12253,
    "h": 336.4
  },
  "luminance": 0.30391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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