#CA7BAC#CA7BAC

#CA7BAC is a light, moderate pink. Relative luminance 0.297; OKLCH L 68.2% C 0.116 H 342.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CA7BAC
RGBrgb(202, 123, 172)
HSLhsl(323, 43%, 64%)
HSVhsv(323, 39%, 79%)
CMYKcmyk(0%, 39.1%, 14.9%, 20.8%)
CIE-LABlab(61.40, 37.58, -12.96)
CIE-LCHlch(61.40, 39.75, 340.98°)
OKLaboklab(68.21% 0.1106 -0.0343)
OKLCHoklch(68.21% 0.116 342.8)
XYZxyz(38.8868, 29.7034, 42.7068)
Luminance0.2970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BAC #7BCA99
analogous
#C07BCA #CA7BAC #CA7B84
triadic
#CA7BAC #ACCA7B #7BACCA
tetradic
#CA7BAC #CAC07B #7BCA99 #7B84CA
square
#CA7BAC #CAC07B #7BCA99 #7B84CA
split-complementary
#CA7BAC #84CA7B #7BCAC0
monochromatic
#913A70 #B84F91 #CA7BAC #DCA7C7 #EDD2E3

Accessibility & contrast

On white

3.03
#CA7BAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#CA7BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA7BAC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BAC#FFFFFF#000000##000000
##CA7BAC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8CAE
Deuteranopia (green-blind)
#9399AA
Tritanopia (blue-blind)
#D37B8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca7bac;
/* rgb */ color: rgb(202, 123, 172);
/* oklch */ color: oklch(68.2% 0.116 342.8);
Tailwind
colors: {
  custom: {
    50: '#dba2c4',
    500: '#ca7bac',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bac;
$custom-light: #dba2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bac",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 172
  },
  "hsl": {
    "h": 322.785,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68209,
    "c": 0.11576,
    "h": 342.8
  },
  "luminance": 0.29701
}

Semantic roles & 50–950 ramp

primary
#CA7BAC
secondary
#C2DECD
accent
#B66330
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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