#CA7FA7#CA7FA7

#CA7FA7 is a light, moderate pink. Relative luminance 0.305; OKLCH L 68.7% C 0.105 H 347.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CA7FA7
RGBrgb(202, 127, 167)
HSLhsl(328, 41%, 65%)
HSVhsv(328, 37%, 79%)
CMYKcmyk(0%, 37.1%, 17.3%, 20.8%)
CIE-LABlab(62.11, 34.63, -9.04)
CIE-LCHlch(62.11, 35.79, 345.37°)
OKLaboklab(68.69% 0.1027 -0.0237)
OKLCHoklch(68.69% 0.105 347)
XYZxyz(38.9220, 30.5276, 40.3941)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FA7 #7FCAA2
analogous
#C77FCA #CA7FA7 #CA7F82
triadic
#CA7FA7 #A7CA7F #7FA7CA
tetradic
#CA7FA7 #CAC77F #7FCAA2 #7F82CA
square
#CA7FA7 #CAC77F #7FCAA2 #7F82CA
split-complementary
#CA7FA7 #82CA7F #7FCAC7
monochromatic
#923C6A #B85489 #CA7FA7 #DCAAC5 #EED6E3

Accessibility & contrast

On white

2.96
#CA7FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CA7FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FA7
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FA7#FFFFFF#000000##000000
##CA7FA71.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#858FA8
Deuteranopia (green-blind)
#979BA5
Tritanopia (blue-blind)
#D47E8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7fa7;
/* rgb */ color: rgb(202, 127, 167);
/* oklch */ color: oklch(68.7% 0.105 347.0);
Tailwind
colors: {
  custom: {
    50: '#dba5c1',
    500: '#ca7fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fa7;
$custom-light: #dba5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fa7",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 328,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68693,
    "c": 0.10537,
    "h": 347
  },
  "luminance": 0.30525
}

Semantic roles & 50–950 ramp

primary
#CA7FA7
secondary
#C5DFD2
accent
#B46E31
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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