#CA7FA6#CA7FA6

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

Color values

HEX#CA7FA6
RGBrgb(202, 127, 166)
HSLhsl(329, 41%, 65%)
HSVhsv(329, 37%, 79%)
CMYKcmyk(0%, 37.1%, 17.8%, 20.8%)
CIE-LABlab(62.08, 34.47, -8.52)
CIE-LCHlch(62.08, 35.51, 346.12°)
OKLaboklab(68.66% 0.1023 -0.0223)
OKLCHoklch(68.66% 0.105 347.7)
XYZxyz(38.8299, 30.4908, 39.9091)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FA6 #7FCAA3
analogous
#C87FCA #CA7FA6 #CA7F81
triadic
#CA7FA6 #A6CA7F #7FA6CA
tetradic
#CA7FA6 #CAC87F #7FCAA3 #7F81CA
square
#CA7FA6 #CAC87F #7FCAA3 #7F81CA
split-complementary
#CA7FA6 #81CA7F #7FCAC8
monochromatic
#923C69 #B85488 #CA7FA6 #DCAAC4 #EED6E2

Accessibility & contrast

On white

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

On black

7.10
#CA7FA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FA6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FA6#FFFFFF#000000##000000
##CA7FA61.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA7
Deuteranopia (green-blind)
#989BA4
Tritanopia (blue-blind)
#D47E8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7fa6;
/* rgb */ color: rgb(202, 127, 166);
/* oklch */ color: oklch(68.7% 0.105 347.7);
Tailwind
colors: {
  custom: {
    50: '#dba5c0',
    500: '#ca7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fa6;
$custom-light: #dba5c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fa6",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 328.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68659,
    "c": 0.10473,
    "h": 347.7
  },
  "luminance": 0.30488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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