#CA7EA8#CA7EA8

#CA7EA8 is a light, moderate pink. Relative luminance 0.303; OKLCH L 68.6% C 0.108 H 346.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CA7EA8
RGBrgb(202, 126, 168)
HSLhsl(327, 42%, 64%)
HSVhsv(327, 38%, 79%)
CMYKcmyk(0%, 37.6%, 16.8%, 20.8%)
CIE-LABlab(61.92, 35.33, -9.89)
CIE-LCHlch(61.92, 36.69, 344.36°)
OKLaboklab(68.56% 0.1046 -0.026)
OKLCHoklch(68.56% 0.108 346)
XYZxyz(38.8862, 30.3077, 40.8400)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EA8 #7ECAA0
analogous
#C67ECA #CA7EA8 #CA7E82
triadic
#CA7EA8 #A8CA7E #7EA8CA
tetradic
#CA7EA8 #CAC67E #7ECAA0 #7E82CA
square
#CA7EA8 #CAC67E #7ECAA0 #7E82CA
split-complementary
#CA7EA8 #82CA7E #7ECAC6
monochromatic
#923C6B #B8538B #CA7EA8 #DCA9C5 #EED5E3

Accessibility & contrast

On white

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

On black

7.06
#CA7EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EA8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EA8#FFFFFF#000000##000000
##CA7EA81.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#848EAA
Deuteranopia (green-blind)
#979AA6
Tritanopia (blue-blind)
#D47D8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7ea8;
/* rgb */ color: rgb(202, 126, 168);
/* oklch */ color: oklch(68.6% 0.108 346.0);
Tailwind
colors: {
  custom: {
    50: '#dba4c1',
    500: '#ca7ea8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ea8;
$custom-light: #dba4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ea8",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 326.842,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68561,
    "c": 0.10776,
    "h": 346
  },
  "luminance": 0.30305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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