#CA7EB3#CA7EB3

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

Color values

HEX#CA7EB3
RGBrgb(202, 126, 179)
HSLhsl(318, 42%, 64%)
HSVhsv(318, 38%, 79%)
CMYKcmyk(0%, 37.6%, 11.4%, 20.8%)
CIE-LABlab(62.28, 37.12, -15.61)
CIE-LCHlch(62.28, 40.27, 337.20°)
OKLaboklab(68.96% 0.108 -0.0416)
OKLCHoklch(68.96% 0.116 338.9)
XYZxyz(39.9547, 30.7351, 46.4670)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EB3 #7ECA95
analogous
#BB7ECA #CA7EB3 #CA7E8D
triadic
#CA7EB3 #B3CA7E #7EB3CA
tetradic
#CA7EB3 #CABB7E #7ECA95 #7E8DCA
square
#CA7EB3 #CABB7E #7ECA95 #7E8DCA
split-complementary
#CA7EB3 #8DCA7E #7ECABB
monochromatic
#923C78 #B85399 #CA7EB3 #DCA9CD #EED5E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7EB3#FFFFFF#000000##000000
##CA7EB31.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)
#808FB5
Deuteranopia (green-blind)
#939BB1
Tritanopia (blue-blind)
#D28091
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7eb3;
/* rgb */ color: rgb(202, 126, 179);
/* oklch */ color: oklch(69.0% 0.116 338.9);
Tailwind
colors: {
  custom: {
    50: '#dba5c9',
    500: '#ca7eb3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eb3;
$custom-light: #dba5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eb3",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 318.158,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68957,
    "c": 0.11575,
    "h": 338.9
  },
  "luminance": 0.30733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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