#CA7BB1#CA7BB1

#CA7BB1 is a light, moderate pink. Relative luminance 0.299; OKLCH L 68.4% C 0.119 H 339.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CA7BB1
RGBrgb(202, 123, 177)
HSLhsl(319, 43%, 64%)
HSVhsv(319, 39%, 79%)
CMYKcmyk(0%, 39.1%, 12.4%, 20.8%)
CIE-LABlab(61.57, 38.40, -15.55)
CIE-LCHlch(61.57, 41.42, 337.95°)
OKLaboklab(68.39% 0.1121 -0.0414)
OKLCHoklch(68.39% 0.119 339.7)
XYZxyz(39.3760, 29.8991, 45.2835)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BB1 #7BCA94
analogous
#BB7BCA #CA7BB1 #CA7B89
triadic
#CA7BB1 #B1CA7B #7BB1CA
tetradic
#CA7BB1 #CABB7B #7BCA94 #7B89CA
square
#CA7BB1 #CABB7B #7BCA94 #7B89CA
split-complementary
#CA7BB1 #89CA7B #7BCABB
monochromatic
#913A75 #B84F97 #CA7BB1 #DCA7CB #EDD2E5

Accessibility & contrast

On white

3.01
#CA7BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CA7BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA7BB1
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BB1#FFFFFF#000000##000000
##CA7BB11.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8DB3
Deuteranopia (green-blind)
#9299AF
Tritanopia (blue-blind)
#D27C8F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca7bb1;
/* rgb */ color: rgb(202, 123, 177);
/* oklch */ color: oklch(68.4% 0.119 339.7);
Tailwind
colors: {
  custom: {
    50: '#dba3c8',
    500: '#ca7bb1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bb1;
$custom-light: #dba3c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bb1",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 177
  },
  "hsl": {
    "h": 318.987,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68393,
    "c": 0.11949,
    "h": 339.7
  },
  "luminance": 0.29897
}

Semantic roles & 50–950 ramp

primary
#CA7BB1
secondary
#C2DECB
accent
#B65A30
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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