#CA7FA0#CA7FA0

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

Color values

HEX#CA7FA0
RGBrgb(202, 127, 160)
HSLhsl(334, 41%, 65%)
HSVhsv(334, 37%, 79%)
CMYKcmyk(0%, 37.1%, 20.8%, 20.8%)
CIE-LABlab(61.89, 33.55, -5.37)
CIE-LCHlch(61.89, 33.97, 350.91°)
OKLaboklab(68.46% 0.1003 -0.0138)
OKLCHoklch(68.46% 0.101 352.2)
XYZxyz(38.2923, 30.2758, 37.0778)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FA0 #7FCAA9
analogous
#CA7FC5 #CA7FA0 #CA847F
triadic
#CA7FA0 #A0CA7F #7FA0CA
tetradic
#CA7FA0 #C5CA7F #7FCAA9 #847FCA
square
#CA7FA0 #C5CA7F #7FCAA9 #847FCA
split-complementary
#CA7FA0 #7FCA84 #7FC5CA
monochromatic
#923C62 #B85480 #CA7FA0 #DCAAC0 #EED6E0

Accessibility & contrast

On white

2.98
#CA7FA0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CA7FA0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FA0
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FA0#FFFFFF#000000##000000
##CA7FA01.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#878EA1
Deuteranopia (green-blind)
#999A9E
Tritanopia (blue-blind)
#D57C8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca7fa0;
/* rgb */ color: rgb(202, 127, 160);
/* oklch */ color: oklch(68.5% 0.101 352.2);
Tailwind
colors: {
  custom: {
    50: '#dba5bc',
    500: '#ca7fa0',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fa0;
$custom-light: #dba5bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fa0",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 160
  },
  "hsl": {
    "h": 333.6,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68458,
    "c": 0.10126,
    "h": 352.2
  },
  "luminance": 0.30273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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