#CA7FA2#CA7FA2

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

Color values

HEX#CA7FA2
RGBrgb(202, 127, 162)
HSLhsl(332, 41%, 65%)
HSVhsv(332, 37%, 79%)
CMYKcmyk(0%, 37.1%, 19.8%, 20.8%)
CIE-LABlab(61.95, 33.85, -6.42)
CIE-LCHlch(61.95, 34.45, 349.26°)
OKLaboklab(68.52% 0.101 -0.0166)
OKLCHoklch(68.52% 0.102 350.7)
XYZxyz(38.4686, 30.3463, 38.0066)
Luminance0.3034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FA2 #7FCAA7
analogous
#CA7FC7 #CA7FA2 #CA827F
triadic
#CA7FA2 #A2CA7F #7FA2CA
tetradic
#CA7FA2 #C7CA7F #7FCAA7 #827FCA
square
#CA7FA2 #C7CA7F #7FCAA7 #827FCA
split-complementary
#CA7FA2 #7FCA82 #7FC7CA
monochromatic
#923C64 #B85483 #CA7FA2 #DCAAC1 #EED6E1

Accessibility & contrast

On white

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

On black

7.07
#CA7FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FA2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FA2#FFFFFF#000000##000000
##CA7FA21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7fa2;
/* rgb */ color: rgb(202, 127, 162);
/* oklch */ color: oklch(68.5% 0.102 350.7);
Tailwind
colors: {
  custom: {
    50: '#dba5bd',
    500: '#ca7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fa2;
$custom-light: #dba5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fa2",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 332,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68524,
    "c": 0.10236,
    "h": 350.7
  },
  "luminance": 0.30344
}

Semantic roles & 50–950 ramp

primary
#CA7FA2
secondary
#C5DFD3
accent
#B47731
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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