#CA7AAA#CA7AAA

#CA7AAA is a light, moderate pink. Relative luminance 0.294; OKLCH L 68.0% C 0.116 H 343.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#CA7AAA
RGBrgb(202, 122, 170)
HSLhsl(324, 43%, 64%)
HSVhsv(324, 40%, 79%)
CMYKcmyk(0%, 39.6%, 15.8%, 20.8%)
CIE-LABlab(61.12, 37.79, -12.24)
CIE-LCHlch(61.12, 39.72, 342.05°)
OKLaboklab(67.97% 0.1115 -0.0323)
OKLCHoklch(67.97% 0.116 343.8)
XYZxyz(38.5727, 29.3803, 41.6617)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AAA #7ACA9A
analogous
#C27ACA #CA7AAA #CA7A82
triadic
#CA7AAA #AACA7A #7AAACA
tetradic
#CA7AAA #CAC27A #7ACA9A #7A82CA
square
#CA7AAA #CAC27A #7ACA9A #7A82CA
split-complementary
#CA7AAA #82CA7A #7ACAC2
monochromatic
#90396D #B94E8E #CA7AAA #DBA6C6 #EDD2E2

Accessibility & contrast

On white

3.05
#CA7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#CA7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA7AAA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AAA#FFFFFF#000000##000000
##CA7AAA1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8CAC
Deuteranopia (green-blind)
#9398A8
Tritanopia (blue-blind)
#D37A8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca7aaa;
/* rgb */ color: rgb(202, 122, 170);
/* oklch */ color: oklch(68.0% 0.116 343.8);
Tailwind
colors: {
  custom: {
    50: '#dba2c3',
    500: '#ca7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ca7aaa;
$custom-light: #dba2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7aaa",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 324,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67973,
    "c": 0.1161,
    "h": 343.8
  },
  "luminance": 0.29378
}

Semantic roles & 50–950 ramp

primary
#CA7AAA
secondary
#C2DECD
accent
#B6652F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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