#CA7EB5#CA7EB5

#CA7EB5 is a light, moderate pink. Relative luminance 0.308; OKLCH L 69.0% C 0.117 H 337.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CA7EB5
RGBrgb(202, 126, 181)
HSLhsl(317, 42%, 64%)
HSVhsv(317, 38%, 79%)
CMYKcmyk(0%, 37.6%, 10.4%, 20.8%)
CIE-LABlab(62.35, 37.46, -16.64)
CIE-LCHlch(62.35, 40.99, 336.05°)
OKLaboklab(69.03% 0.1086 -0.0445)
OKLCHoklch(69.03% 0.117 337.7)
XYZxyz(40.1584, 30.8166, 47.5400)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EB5 #7ECA93
analogous
#B97ECA #CA7EB5 #CA7E8F
triadic
#CA7EB5 #B5CA7E #7EB5CA
tetradic
#CA7EB5 #CAB97E #7ECA93 #7E8FCA
square
#CA7EB5 #CAB97E #7ECA93 #7E8FCA
split-complementary
#CA7EB5 #8FCA7E #7ECAB9
monochromatic
#923C7A #B8539C #CA7EB5 #DCA9CE #EED5E7

Accessibility & contrast

On white

2.93
#CA7EB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CA7EB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EB5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EB5#FFFFFF#000000##000000
##CA7EB51.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B7
Deuteranopia (green-blind)
#939BB3
Tritanopia (blue-blind)
#D28092
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7eb5;
/* rgb */ color: rgb(202, 126, 181);
/* oklch */ color: oklch(69.0% 0.117 337.7);
Tailwind
colors: {
  custom: {
    50: '#dba5cb',
    500: '#ca7eb5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eb5;
$custom-light: #dba5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eb5",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 316.579,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69033,
    "c": 0.11735,
    "h": 337.7
  },
  "luminance": 0.30814
}

Semantic roles & 50–950 ramp

primary
#CA7EB5
secondary
#C5DFCC
accent
#B55531
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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