#CA7EA1#CA7EA1

#CA7EA1 is a light, moderate pink. Relative luminance 0.301; OKLCH L 68.3% C 0.104 H 351.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CA7EA1
RGBrgb(202, 126, 161)
HSLhsl(332, 42%, 64%)
HSVhsv(332, 38%, 79%)
CMYKcmyk(0%, 37.6%, 20.3%, 20.8%)
CIE-LABlab(61.70, 34.24, -6.22)
CIE-LCHlch(61.70, 34.80, 349.70°)
OKLaboklab(68.32% 0.1022 -0.0161)
OKLCHoklch(68.32% 0.104 351.1)
XYZxyz(38.2516, 30.0539, 37.4975)
Luminance0.3005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EA1 #7ECAA7
analogous
#CA7EC7 #CA7EA1 #CA817E
triadic
#CA7EA1 #A1CA7E #7EA1CA
tetradic
#CA7EA1 #C7CA7E #7ECAA7 #817ECA
square
#CA7EA1 #C7CA7E #7ECAA7 #817ECA
split-complementary
#CA7EA1 #7ECA81 #7EC7CA
monochromatic
#923C63 #B85381 #CA7EA1 #DCA9C1 #EED5E0

Accessibility & contrast

On white

3.00
#CA7EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#CA7EA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EA1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EA1#FFFFFF#000000##000000
##CA7EA11.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#868DA2
Deuteranopia (green-blind)
#989A9F
Tritanopia (blue-blind)
#D47C8A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca7ea1;
/* rgb */ color: rgb(202, 126, 161);
/* oklch */ color: oklch(68.3% 0.104 351.1);
Tailwind
colors: {
  custom: {
    50: '#dba4bc',
    500: '#ca7ea1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ea1;
$custom-light: #dba4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ea1",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 332.368,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68323,
    "c": 0.10351,
    "h": 351.1
  },
  "luminance": 0.30051
}

Semantic roles & 50–950 ramp

primary
#CA7EA1
secondary
#C5DFD3
accent
#B57831
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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