#CA7FBC#CA7FBC

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

Color values

HEX#CA7FBC
RGBrgb(202, 127, 188)
HSLhsl(311, 41%, 65%)
HSVhsv(311, 37%, 79%)
CMYKcmyk(0%, 37.1%, 6.9%, 20.8%)
CIE-LABlab(62.82, 38.13, -19.90)
CIE-LCHlch(62.82, 43.01, 332.45°)
OKLaboklab(69.47% 0.109 -0.0535)
OKLCHoklch(69.47% 0.121 333.8)
XYZxyz(41.0233, 31.3682, 51.4610)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FBC #7FCA8D
analogous
#B37FCA #CA7FBC #CA7F97
triadic
#CA7FBC #BCCA7F #7FBCCA
tetradic
#CA7FBC #CAB37F #7FCA8D #7F97CA
square
#CA7FBC #CAB37F #7FCA8D #7F97CA
split-complementary
#CA7FBC #97CA7F #7FCAB3
monochromatic
#923C82 #B854A5 #CA7FBC #DCAAD3 #EED6E9

Accessibility & contrast

On white

2.89
#CA7FBC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CA7FBC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FBC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FBC#FFFFFF#000000##000000
##CA7FBC1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E91BE
Deuteranopia (green-blind)
#919CBA
Tritanopia (blue-blind)
#D18395
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7fbc;
/* rgb */ color: rgb(202, 127, 188);
/* oklch */ color: oklch(69.5% 0.121 333.8);
Tailwind
colors: {
  custom: {
    50: '#dba5d0',
    500: '#ca7fbc',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fbc;
$custom-light: #dba5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fbc",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 311.2,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69466,
    "c": 0.12148,
    "h": 333.8
  },
  "luminance": 0.31366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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