#CA7EB8#CA7EB8

#CA7EB8 is a light, moderate pink. Relative luminance 0.309; OKLCH L 69.1% C 0.120 H 336.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CA7EB8
RGBrgb(202, 126, 184)
HSLhsl(314, 42%, 64%)
HSVhsv(314, 38%, 79%)
CMYKcmyk(0%, 37.6%, 8.9%, 20.8%)
CIE-LABlab(62.46, 37.97, -18.18)
CIE-LCHlch(62.46, 42.10, 334.42°)
OKLaboklab(69.15% 0.1095 -0.0487)
OKLCHoklch(69.15% 0.12 336)
XYZxyz(40.4695, 30.9411, 49.1787)
Luminance0.3094 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EB8 #7ECA90
analogous
#B67ECA #CA7EB8 #CA7E92
triadic
#CA7EB8 #B8CA7E #7EB8CA
tetradic
#CA7EB8 #CAB67E #7ECA90 #7E92CA
square
#CA7EB8 #CAB67E #7ECA90 #7E92CA
split-complementary
#CA7EB8 #92CA7E #7ECAB6
monochromatic
#923C7D #B853A0 #CA7EB8 #DCA9D0 #EED5E8

Accessibility & contrast

On white

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

On black

7.19
#CA7EB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EB8
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EB8#FFFFFF#000000##000000
##CA7EB81.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F90BA
Deuteranopia (green-blind)
#929BB6
Tritanopia (blue-blind)
#D18193
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7eb8;
/* rgb */ color: rgb(202, 126, 184);
/* oklch */ color: oklch(69.1% 0.120 336.0);
Tailwind
colors: {
  custom: {
    50: '#dba5cd',
    500: '#ca7eb8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eb8;
$custom-light: #dba5cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eb8",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 184
  },
  "hsl": {
    "h": 314.211,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69147,
    "c": 0.11983,
    "h": 336
  },
  "luminance": 0.30939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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