#CA7EAA#CA7EAA

#CA7EAA is a light, moderate pink. Relative luminance 0.304; OKLCH L 68.6% C 0.109 H 344.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CA7EAA
RGBrgb(202, 126, 170)
HSLhsl(325, 42%, 64%)
HSVhsv(325, 38%, 79%)
CMYKcmyk(0%, 37.6%, 15.8%, 20.8%)
CIE-LABlab(61.98, 35.65, -10.94)
CIE-LCHlch(61.98, 37.29, 342.94°)
OKLaboklab(68.63% 0.1052 -0.0288)
OKLCHoklch(68.63% 0.109 344.7)
XYZxyz(39.0740, 30.3828, 41.8288)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EAA #7ECA9E
analogous
#C47ECA #CA7EAA #CA7E84
triadic
#CA7EAA #AACA7E #7EAACA
tetradic
#CA7EAA #CAC47E #7ECA9E #7E84CA
square
#CA7EAA #CAC47E #7ECA9E #7E84CA
split-complementary
#CA7EAA #84CA7E #7ECAC4
monochromatic
#923C6E #B8538D #CA7EAA #DCA9C7 #EED5E3

Accessibility & contrast

On white

2.97
#CA7EAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CA7EAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EAA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EAA#FFFFFF#000000##000000
##CA7EAA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#838EAC
Deuteranopia (green-blind)
#969AA8
Tritanopia (blue-blind)
#D37E8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7eaa;
/* rgb */ color: rgb(202, 126, 170);
/* oklch */ color: oklch(68.6% 0.109 344.7);
Tailwind
colors: {
  custom: {
    50: '#dba4c3',
    500: '#ca7eaa',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eaa;
$custom-light: #dba4c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eaa",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 325.263,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68631,
    "c": 0.10911,
    "h": 344.7
  },
  "luminance": 0.30381
}

Semantic roles & 50–950 ramp

primary
#CA7EAA
secondary
#C5DFD0
accent
#B56831
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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