#CA7BAF#CA7BAF

#CA7BAF is a light, moderate pink. Relative luminance 0.298; OKLCH L 68.3% C 0.118 H 340.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#CA7BAF
RGBrgb(202, 123, 175)
HSLhsl(321, 43%, 64%)
HSVhsv(321, 39%, 79%)
CMYKcmyk(0%, 39.1%, 13.4%, 20.8%)
CIE-LABlab(61.50, 38.06, -14.52)
CIE-LCHlch(61.50, 40.74, 339.13°)
OKLaboklab(68.32% 0.1115 -0.0386)
OKLCHoklch(68.32% 0.118 340.9)
XYZxyz(39.1781, 29.8199, 44.2414)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BAF #7BCA96
analogous
#BD7BCA #CA7BAF #CA7B87
triadic
#CA7BAF #AFCA7B #7BAFCA
tetradic
#CA7BAF #CABD7B #7BCA96 #7B87CA
square
#CA7BAF #CABD7B #7BCA96 #7B87CA
split-complementary
#CA7BAF #87CA7B #7BCABD
monochromatic
#913A73 #B84F95 #CA7BAF #DCA7C9 #EDD2E4

Accessibility & contrast

On white

3.02
#CA7BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#CA7BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA7BAF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BAF#FFFFFF#000000##000000
##CA7BAF1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8DB1
Deuteranopia (green-blind)
#9399AD
Tritanopia (blue-blind)
#D37C8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca7baf;
/* rgb */ color: rgb(202, 123, 175);
/* oklch */ color: oklch(68.3% 0.118 340.9);
Tailwind
colors: {
  custom: {
    50: '#dba2c7',
    500: '#ca7baf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7baf;
$custom-light: #dba2c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7baf",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 320.506,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68318,
    "c": 0.11796,
    "h": 340.9
  },
  "luminance": 0.29818
}

Semantic roles & 50–950 ramp

primary
#CA7BAF
secondary
#C2DECC
accent
#B65E30
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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