#CA7EB9#CA7EB9

#CA7EB9 is a light, vivid pink. Relative luminance 0.310; OKLCH L 69.2% C 0.121 H 335.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CA7EB9
RGBrgb(202, 126, 185)
HSLhsl(313, 42%, 64%)
HSVhsv(313, 38%, 79%)
CMYKcmyk(0%, 37.6%, 8.4%, 20.8%)
CIE-LABlab(62.49, 38.15, -18.69)
CIE-LCHlch(62.49, 42.48, 333.90°)
OKLaboklab(69.19% 0.1097 -0.0502)
OKLCHoklch(69.19% 0.121 335.4)
XYZxyz(40.5747, 30.9831, 49.7327)
Luminance0.3098 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EB9 #7ECA8F
analogous
#B57ECA #CA7EB9 #CA7E93
triadic
#CA7EB9 #B9CA7E #7EB9CA
tetradic
#CA7EB9 #CAB57E #7ECA8F #7E93CA
square
#CA7EB9 #CAB57E #7ECA8F #7E93CA
split-complementary
#CA7EB9 #93CA7E #7ECAB5
monochromatic
#923C7F #B853A1 #CA7EB9 #DCA9D1 #EED5E8

Accessibility & contrast

On white

2.92
#CA7EB9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CA7EB9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EB9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EB9#FFFFFF#000000##000000
##CA7EB91.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E90BB
Deuteranopia (green-blind)
#929BB7
Tritanopia (blue-blind)
#D18194
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7eb9;
/* rgb */ color: rgb(202, 126, 185);
/* oklch */ color: oklch(69.2% 0.121 335.4);
Tailwind
colors: {
  custom: {
    50: '#dba5ce',
    500: '#ca7eb9',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eb9;
$custom-light: #dba5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eb9",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 185
  },
  "hsl": {
    "h": 313.421,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69186,
    "c": 0.12067,
    "h": 335.4
  },
  "luminance": 0.30981
}

Semantic roles & 50–950 ramp

primary
#CA7EB9
secondary
#C5DFCB
accent
#B54E31
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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