#CA7FA8#CA7FA8

#CA7FA8 is a light, moderate pink. Relative luminance 0.306; OKLCH L 68.7% C 0.106 H 346.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CA7FA8
RGBrgb(202, 127, 168)
HSLhsl(327, 41%, 65%)
HSVhsv(327, 37%, 79%)
CMYKcmyk(0%, 37.1%, 16.8%, 20.8%)
CIE-LABlab(62.14, 34.79, -9.56)
CIE-LCHlch(62.14, 36.08, 344.63°)
OKLaboklab(68.73% 0.103 -0.0251)
OKLCHoklch(68.73% 0.106 346.3)
XYZxyz(39.0148, 30.5648, 40.8828)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FA8 #7FCAA1
analogous
#C67FCA #CA7FA8 #CA7F83
triadic
#CA7FA8 #A8CA7F #7FA8CA
tetradic
#CA7FA8 #CAC67F #7FCAA1 #7F83CA
square
#CA7FA8 #CAC67F #7FCAA1 #7F83CA
split-complementary
#CA7FA8 #83CA7F #7FCAC6
monochromatic
#923C6B #B8548B #CA7FA8 #DCAAC5 #EED6E3

Accessibility & contrast

On white

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

On black

7.11
#CA7FA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FA8
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FA8#FFFFFF#000000##000000
##CA7FA81.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#858FAA
Deuteranopia (green-blind)
#979BA6
Tritanopia (blue-blind)
#D47E8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7fa8;
/* rgb */ color: rgb(202, 127, 168);
/* oklch */ color: oklch(68.7% 0.106 346.3);
Tailwind
colors: {
  custom: {
    50: '#dba5c1',
    500: '#ca7fa8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fa8;
$custom-light: #dba5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fa8",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 327.2,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68728,
    "c": 0.10601,
    "h": 346.3
  },
  "luminance": 0.30562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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