#CA7EA7#CA7EA7

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

Color values

HEX#CA7EA7
RGBrgb(202, 126, 167)
HSLhsl(328, 42%, 64%)
HSVhsv(328, 38%, 79%)
CMYKcmyk(0%, 37.6%, 17.3%, 20.8%)
CIE-LABlab(61.89, 35.17, -9.37)
CIE-LCHlch(61.89, 36.40, 345.08°)
OKLaboklab(68.53% 0.1043 -0.0246)
OKLCHoklch(68.53% 0.107 346.7)
XYZxyz(38.7934, 30.2706, 40.3512)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EA7 #7ECAA1
analogous
#C77ECA #CA7EA7 #CA7E81
triadic
#CA7EA7 #A7CA7E #7EA7CA
tetradic
#CA7EA7 #CAC77E #7ECAA1 #7E81CA
square
#CA7EA7 #CAC77E #7ECAA1 #7E81CA
split-complementary
#CA7EA7 #81CA7E #7ECAC7
monochromatic
#923C6A #B85389 #CA7EA7 #DCA9C5 #EED5E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7EA7#FFFFFF#000000##000000
##CA7EA71.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)
#848EA9
Deuteranopia (green-blind)
#979AA5
Tritanopia (blue-blind)
#D47D8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca7ea7;
/* rgb */ color: rgb(202, 126, 167);
/* oklch */ color: oklch(68.5% 0.107 346.7);
Tailwind
colors: {
  custom: {
    50: '#dba4c1',
    500: '#ca7ea7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ea7;
$custom-light: #dba4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ea7",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 327.632,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68526,
    "c": 0.10711,
    "h": 346.7
  },
  "luminance": 0.30268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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