#CA7FBD#CA7FBD

#CA7FBD is a light, vivid pink. Relative luminance 0.314; OKLCH L 69.5% C 0.122 H 333.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CA7FBD
RGBrgb(202, 127, 189)
HSLhsl(310, 41%, 65%)
HSVhsv(310, 37%, 79%)
CMYKcmyk(0%, 37.1%, 6.4%, 20.8%)
CIE-LABlab(62.85, 38.31, -20.41)
CIE-LCHlch(62.85, 43.41, 331.96°)
OKLaboklab(69.51% 0.1093 -0.055)
OKLCHoklch(69.51% 0.122 333.3)
XYZxyz(41.1314, 31.4114, 52.0307)
Luminance0.3141 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FBD #7FCA8C
analogous
#B27FCA #CA7FBD #CA7F98
triadic
#CA7FBD #BDCA7F #7FBDCA
tetradic
#CA7FBD #CAB27F #7FCA8C #7F98CA
square
#CA7FBD #CAB27F #7FCA8C #7F98CA
split-complementary
#CA7FBD #98CA7F #7FCAB2
monochromatic
#923C83 #B854A7 #CA7FBD #DCAAD3 #EED6EA

Accessibility & contrast

On white

2.88
#CA7FBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CA7FBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FBD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FBD#FFFFFF#000000##000000
##CA7FBD1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E91BF
Deuteranopia (green-blind)
#919CBB
Tritanopia (blue-blind)
#D18396
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7fbd;
/* rgb */ color: rgb(202, 127, 189);
/* oklch */ color: oklch(69.5% 0.122 333.3);
Tailwind
colors: {
  custom: {
    50: '#dba5d1',
    500: '#ca7fbd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fbd;
$custom-light: #dba5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fbd",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 189
  },
  "hsl": {
    "h": 310.4,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69505,
    "c": 0.12236,
    "h": 333.3
  },
  "luminance": 0.31409
}

Semantic roles & 50–950 ramp

primary
#CA7FBD
secondary
#C5DFCA
accent
#B44831
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA7FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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