#CA7EB4#CA7EB4

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

Color values

HEX#CA7EB4
RGBrgb(202, 126, 180)
HSLhsl(317, 42%, 64%)
HSVhsv(317, 38%, 79%)
CMYKcmyk(0%, 37.6%, 10.9%, 20.8%)
CIE-LABlab(62.32, 37.29, -16.12)
CIE-LCHlch(62.32, 40.63, 336.62°)
OKLaboklab(68.99% 0.1083 -0.043)
OKLCHoklch(68.99% 0.117 338.3)
XYZxyz(40.0562, 30.7757, 47.0016)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EB4 #7ECA94
analogous
#BA7ECA #CA7EB4 #CA7E8E
triadic
#CA7EB4 #B4CA7E #7EB4CA
tetradic
#CA7EB4 #CABA7E #7ECA94 #7E8ECA
square
#CA7EB4 #CABA7E #7ECA94 #7E8ECA
split-complementary
#CA7EB4 #8ECA7E #7ECABA
monochromatic
#923C79 #B8539B #CA7EB4 #DCA9CD #EED5E6

Accessibility & contrast

On white

2.94
#CA7EB4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CA7EB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EB4
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EB4#FFFFFF#000000##000000
##CA7EB41.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7eb4;
/* rgb */ color: rgb(202, 126, 180);
/* oklch */ color: oklch(69.0% 0.117 338.3);
Tailwind
colors: {
  custom: {
    50: '#dba5ca',
    500: '#ca7eb4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eb4;
$custom-light: #dba5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eb4",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 317.368,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68995,
    "c": 0.11654,
    "h": 338.3
  },
  "luminance": 0.30774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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