#CA7FA1#CA7FA1

#CA7FA1 is a light, moderate pink. Relative luminance 0.303; OKLCH L 68.5% C 0.102 H 351.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CA7FA1
RGBrgb(202, 127, 161)
HSLhsl(333, 41%, 65%)
HSVhsv(333, 37%, 79%)
CMYKcmyk(0%, 37.1%, 20.3%, 20.8%)
CIE-LABlab(61.92, 33.70, -5.89)
CIE-LCHlch(61.92, 34.21, 350.08°)
OKLaboklab(68.49% 0.1007 -0.0152)
OKLCHoklch(68.49% 0.102 351.4)
XYZxyz(38.3801, 30.3109, 37.5404)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FA1 #7FCAA8
analogous
#CA7FC6 #CA7FA1 #CA837F
triadic
#CA7FA1 #A1CA7F #7FA1CA
tetradic
#CA7FA1 #C6CA7F #7FCAA8 #837FCA
square
#CA7FA1 #C6CA7F #7FCAA8 #837FCA
split-complementary
#CA7FA1 #7FCA83 #7FC6CA
monochromatic
#923C63 #B85481 #CA7FA1 #DCAAC1 #EED6E1

Accessibility & contrast

On white

2.97
#CA7FA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CA7FA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FA1
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FA1#FFFFFF#000000##000000
##CA7FA11.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA2
Deuteranopia (green-blind)
#999A9F
Tritanopia (blue-blind)
#D47D8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7fa1;
/* rgb */ color: rgb(202, 127, 161);
/* oklch */ color: oklch(68.5% 0.102 351.4);
Tailwind
colors: {
  custom: {
    50: '#dba5bc',
    500: '#ca7fa1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fa1;
$custom-light: #dba5bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fa1",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 332.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68491,
    "c": 0.1018,
    "h": 351.4
  },
  "luminance": 0.30309
}

Semantic roles & 50–950 ramp

primary
#CA7FA1
secondary
#C5DFD4
accent
#B47931
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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