#CA7EA6#CA7EA6

#CA7EA6 is a light, moderate pink. Relative luminance 0.302; OKLCH L 68.5% C 0.106 H 347.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CA7EA6
RGBrgb(202, 126, 166)
HSLhsl(328, 42%, 64%)
HSVhsv(328, 38%, 79%)
CMYKcmyk(0%, 37.6%, 17.8%, 20.8%)
CIE-LABlab(61.86, 35.01, -8.85)
CIE-LCHlch(61.86, 36.11, 345.82°)
OKLaboklab(68.49% 0.1039 -0.0231)
OKLCHoklch(68.49% 0.106 347.4)
XYZxyz(38.7014, 30.2338, 39.8662)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EA6 #7ECAA2
analogous
#C87ECA #CA7EA6 #CA7E80
triadic
#CA7EA6 #A6CA7E #7EA6CA
tetradic
#CA7EA6 #CAC87E #7ECAA2 #7E80CA
square
#CA7EA6 #CAC87E #7ECAA2 #7E80CA
split-complementary
#CA7EA6 #80CA7E #7ECAC8
monochromatic
#923C69 #B85388 #CA7EA6 #DCA9C4 #EED5E2

Accessibility & contrast

On white

2.98
#CA7EA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CA7EA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EA6
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EA6#FFFFFF#000000##000000
##CA7EA61.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#848EA7
Deuteranopia (green-blind)
#979AA4
Tritanopia (blue-blind)
#D47D8C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca7ea6;
/* rgb */ color: rgb(202, 126, 166);
/* oklch */ color: oklch(68.5% 0.106 347.4);
Tailwind
colors: {
  custom: {
    50: '#dba4c0',
    500: '#ca7ea6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ea6;
$custom-light: #dba4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ea6",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 328.421,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68492,
    "c": 0.10647,
    "h": 347.4
  },
  "luminance": 0.30231
}

Semantic roles & 50–950 ramp

primary
#CA7EA6
secondary
#C5DFD1
accent
#B56F31
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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