#CA7EA5#CA7EA5

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

Color values

HEX#CA7EA5
RGBrgb(202, 126, 165)
HSLhsl(329, 42%, 64%)
HSVhsv(329, 38%, 79%)
CMYKcmyk(0%, 37.6%, 18.3%, 20.8%)
CIE-LABlab(61.82, 34.85, -8.32)
CIE-LCHlch(61.82, 35.83, 346.57°)
OKLaboklab(68.46% 0.1036 -0.0217)
OKLCHoklch(68.46% 0.106 348.2)
XYZxyz(38.6100, 30.1972, 39.3850)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EA5 #7ECAA3
analogous
#C97ECA #CA7EA5 #CA7E7F
triadic
#CA7EA5 #A5CA7E #7EA5CA
tetradic
#CA7EA5 #CAC97E #7ECAA3 #7E7FCA
square
#CA7EA5 #CAC97E #7ECAA3 #7E7FCA
split-complementary
#CA7EA5 #7FCA7E #7ECAC9
monochromatic
#923C68 #B85387 #CA7EA5 #DCA9C3 #EED5E2

Accessibility & contrast

On white

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

On black

7.04
#CA7EA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EA5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EA5#FFFFFF#000000##000000
##CA7EA51.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7ea5;
/* rgb */ color: rgb(202, 126, 165);
/* oklch */ color: oklch(68.5% 0.106 348.2);
Tailwind
colors: {
  custom: {
    50: '#dba4bf',
    500: '#ca7ea5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ea5;
$custom-light: #dba4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ea5",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 329.211,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68457,
    "c": 0.10585,
    "h": 348.2
  },
  "luminance": 0.30195
}

Semantic roles & 50–950 ramp

primary
#CA7EA5
secondary
#C5DFD2
accent
#B57131
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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