#CA7EA2#CA7EA2

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

Color values

HEX#CA7EA2
RGBrgb(202, 126, 162)
HSLhsl(332, 42%, 64%)
HSVhsv(332, 38%, 79%)
CMYKcmyk(0%, 37.6%, 19.8%, 20.8%)
CIE-LABlab(61.73, 34.39, -6.75)
CIE-LCHlch(61.73, 35.05, 348.90°)
OKLaboklab(68.36% 0.1026 -0.0175)
OKLCHoklch(68.36% 0.104 350.3)
XYZxyz(38.3401, 30.0893, 37.9638)
Luminance0.3009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EA2 #7ECAA6
analogous
#CA7EC8 #CA7EA2 #CA807E
triadic
#CA7EA2 #A2CA7E #7EA2CA
tetradic
#CA7EA2 #C8CA7E #7ECAA6 #807ECA
square
#CA7EA2 #C8CA7E #7ECAA6 #807ECA
split-complementary
#CA7EA2 #7ECA80 #7EC8CA
monochromatic
#923C65 #B85383 #CA7EA2 #DCA9C1 #EED5E1

Accessibility & contrast

On white

2.99
#CA7EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CA7EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EA2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EA2#FFFFFF#000000##000000
##CA7EA21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#858DA3
Deuteranopia (green-blind)
#989AA0
Tritanopia (blue-blind)
#D47C8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca7ea2;
/* rgb */ color: rgb(202, 126, 162);
/* oklch */ color: oklch(68.4% 0.104 350.3);
Tailwind
colors: {
  custom: {
    50: '#dba4bd',
    500: '#ca7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ea2;
$custom-light: #dba4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ea2",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 331.579,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68356,
    "c": 0.10407,
    "h": 350.3
  },
  "luminance": 0.30087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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