#CA7FAA#CA7FAA

#CA7FAA is a light, moderate pink. Relative luminance 0.306; OKLCH L 68.8% C 0.107 H 344.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CA7FAA
RGBrgb(202, 127, 170)
HSLhsl(326, 41%, 65%)
HSVhsv(326, 37%, 79%)
CMYKcmyk(0%, 37.1%, 15.8%, 20.8%)
CIE-LABlab(62.20, 35.11, -10.61)
CIE-LCHlch(62.20, 36.68, 343.19°)
OKLaboklab(68.8% 0.1037 -0.0279)
OKLCHoklch(68.8% 0.107 344.9)
XYZxyz(39.2025, 30.6399, 41.8716)
Luminance0.3064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FAA #7FCA9F
analogous
#C47FCA #CA7FAA #CA7F85
triadic
#CA7FAA #AACA7F #7FAACA
tetradic
#CA7FAA #CAC47F #7FCA9F #7F85CA
square
#CA7FAA #CAC47F #7FCA9F #7F85CA
split-complementary
#CA7FAA #85CA7F #7FCAC4
monochromatic
#923C6E #B8548D #CA7FAA #DCAAC7 #EED6E3

Accessibility & contrast

On white

2.95
#CA7FAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CA7FAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FAA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FAA#FFFFFF#000000##000000
##CA7FAA1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#848FAC
Deuteranopia (green-blind)
#979BA8
Tritanopia (blue-blind)
#D37F8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7faa;
/* rgb */ color: rgb(202, 127, 170);
/* oklch */ color: oklch(68.8% 0.107 344.9);
Tailwind
colors: {
  custom: {
    50: '#dba5c3',
    500: '#ca7faa',
    950: '#000000',
  },
}
SCSS
$custom: #ca7faa;
$custom-light: #dba5c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7faa",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 170
  },
  "hsl": {
    "h": 325.6,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68797,
    "c": 0.10735,
    "h": 344.9
  },
  "luminance": 0.30638
}

Semantic roles & 50–950 ramp

primary
#CA7FAA
secondary
#C5DFD1
accent
#B46931
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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