#CA7FB5#CA7FB5

#CA7FB5 is a light, moderate pink. Relative luminance 0.311; OKLCH L 69.2% C 0.116 H 337.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CA7FB5
RGBrgb(202, 127, 181)
HSLhsl(317, 41%, 65%)
HSVhsv(317, 37%, 79%)
CMYKcmyk(0%, 37.1%, 10.4%, 20.8%)
CIE-LABlab(62.57, 36.93, -16.31)
CIE-LCHlch(62.57, 40.37, 336.17°)
OKLaboklab(69.2% 0.107 -0.0436)
OKLCHoklch(69.2% 0.116 337.8)
XYZxyz(40.2869, 31.0736, 47.5829)
Luminance0.3107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FB5 #7FCA94
analogous
#BA7FCA #CA7FB5 #CA7F90
triadic
#CA7FB5 #B5CA7F #7FB5CA
tetradic
#CA7FB5 #CABA7F #7FCA94 #7F90CA
square
#CA7FB5 #CABA7F #7FCA94 #7F90CA
split-complementary
#CA7FB5 #90CA7F #7FCABA
monochromatic
#923C7A #B8549C #CA7FB5 #DCAACE #EED6E7

Accessibility & contrast

On white

2.91
#CA7FB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CA7FB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FB5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FB5#FFFFFF#000000##000000
##CA7FB51.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8190B7
Deuteranopia (green-blind)
#949BB3
Tritanopia (blue-blind)
#D28193
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7fb5;
/* rgb */ color: rgb(202, 127, 181);
/* oklch */ color: oklch(69.2% 0.116 337.8);
Tailwind
colors: {
  custom: {
    50: '#dba5cb',
    500: '#ca7fb5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fb5;
$custom-light: #dba5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fb5",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 316.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69197,
    "c": 0.11557,
    "h": 337.8
  },
  "luminance": 0.31071
}

Semantic roles & 50–950 ramp

primary
#CA7FB5
secondary
#C5DFCD
accent
#B45631
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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