#CA7FBB#CA7FBB

#CA7FBB is a light, vivid pink. Relative luminance 0.313; OKLCH L 69.4% C 0.121 H 334.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CA7FBB
RGBrgb(202, 127, 187)
HSLhsl(312, 41%, 65%)
HSVhsv(312, 37%, 79%)
CMYKcmyk(0%, 37.1%, 7.4%, 20.8%)
CIE-LABlab(62.78, 37.96, -19.39)
CIE-LCHlch(62.78, 42.62, 332.95°)
OKLaboklab(69.43% 0.1088 -0.0521)
OKLCHoklch(69.43% 0.121 334.4)
XYZxyz(40.9159, 31.3252, 50.8953)
Luminance0.3132 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FBB #7FCA8E
analogous
#B47FCA #CA7FBB #CA7F96
triadic
#CA7FBB #BBCA7F #7FBBCA
tetradic
#CA7FBB #CAB47F #7FCA8E #7F96CA
square
#CA7FBB #CAB47F #7FCA8E #7F96CA
split-complementary
#CA7FBB #96CA7F #7FCAB4
monochromatic
#923C81 #B854A4 #CA7FBB #DCAAD2 #EED6E9

Accessibility & contrast

On white

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

On black

7.26
#CA7FBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FBB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FBB#FFFFFF#000000##000000
##CA7FBB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F91BD
Deuteranopia (green-blind)
#929CB9
Tritanopia (blue-blind)
#D18295
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7fbb;
/* rgb */ color: rgb(202, 127, 187);
/* oklch */ color: oklch(69.4% 0.121 334.4);
Tailwind
colors: {
  custom: {
    50: '#dba5cf',
    500: '#ca7fbb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fbb;
$custom-light: #dba5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fbb",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 312,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69427,
    "c": 0.12061,
    "h": 334.4
  },
  "luminance": 0.31323
}

Semantic roles & 50–950 ramp

primary
#CA7FBB
secondary
#C5DFCB
accent
#B44B31
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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