#CA7BB2#CA7BB2

#CA7BB2 is a light, vivid pink. Relative luminance 0.299; OKLCH L 68.4% C 0.120 H 339.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CA7BB2
RGBrgb(202, 123, 178)
HSLhsl(318, 43%, 64%)
HSVhsv(318, 39%, 79%)
CMYKcmyk(0%, 39.1%, 11.9%, 20.8%)
CIE-LABlab(61.60, 38.56, -16.07)
CIE-LCHlch(61.60, 41.78, 337.38°)
OKLaboklab(68.43% 0.1124 -0.0429)
OKLCHoklch(68.43% 0.12 339.1)
XYZxyz(39.4760, 29.9391, 45.8104)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BB2 #7BCA93
analogous
#BA7BCA #CA7BB2 #CA7B8A
triadic
#CA7BB2 #B2CA7B #7BB2CA
tetradic
#CA7BB2 #CABA7B #7BCA93 #7B8ACA
square
#CA7BB2 #CABA7B #7BCA93 #7B8ACA
split-complementary
#CA7BB2 #8ACA7B #7BCABA
monochromatic
#913A76 #B84F99 #CA7BB2 #DCA7CB #EDD2E5

Accessibility & contrast

On white

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

On black

6.99
#CA7BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA7BB2
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BB2#FFFFFF#000000##000000
##CA7BB21.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8DB4
Deuteranopia (green-blind)
#9299B0
Tritanopia (blue-blind)
#D27D8F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca7bb2;
/* rgb */ color: rgb(202, 123, 178);
/* oklch */ color: oklch(68.4% 0.120 339.1);
Tailwind
colors: {
  custom: {
    50: '#dba3c9',
    500: '#ca7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bb2;
$custom-light: #dba3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bb2",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 318.228,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6843,
    "c": 0.12026,
    "h": 339.1
  },
  "luminance": 0.29937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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