#CA7EB2#CA7EB2

#CA7EB2 is a light, moderate pink. Relative luminance 0.307; OKLCH L 68.9% C 0.115 H 339.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CA7EB2
RGBrgb(202, 126, 178)
HSLhsl(319, 42%, 64%)
HSVhsv(319, 38%, 79%)
CMYKcmyk(0%, 37.6%, 11.9%, 20.8%)
CIE-LABlab(62.25, 36.96, -15.09)
CIE-LCHlch(62.25, 39.92, 337.79°)
OKLaboklab(68.92% 0.1077 -0.0402)
OKLCHoklch(68.92% 0.115 339.5)
XYZxyz(39.8539, 30.6948, 45.9363)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EB2 #7ECA96
analogous
#BC7ECA #CA7EB2 #CA7E8C
triadic
#CA7EB2 #B2CA7E #7EB2CA
tetradic
#CA7EB2 #CABC7E #7ECA96 #7E8CCA
square
#CA7EB2 #CABC7E #7ECA96 #7E8CCA
split-complementary
#CA7EB2 #8CCA7E #7ECABC
monochromatic
#923C77 #B85398 #CA7EB2 #DCA9CC #EED5E6

Accessibility & contrast

On white

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

On black

7.14
#CA7EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EB2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EB2#FFFFFF#000000##000000
##CA7EB21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB4
Deuteranopia (green-blind)
#949BB0
Tritanopia (blue-blind)
#D27F91
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7eb2;
/* rgb */ color: rgb(202, 126, 178);
/* oklch */ color: oklch(68.9% 0.115 339.5);
Tailwind
colors: {
  custom: {
    50: '#dba5c9',
    500: '#ca7eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eb2;
$custom-light: #dba5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eb2",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 318.947,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6892,
    "c": 0.11497,
    "h": 339.5
  },
  "luminance": 0.30693
}

Semantic roles & 50–950 ramp

primary
#CA7EB2
secondary
#C5DFCD
accent
#B55A31
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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