#CA7FAB#CA7FAB

#CA7FAB is a light, moderate pink. Relative luminance 0.307; OKLCH L 68.8% C 0.108 H 344.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CA7FAB
RGBrgb(202, 127, 171)
HSLhsl(325, 41%, 65%)
HSVhsv(325, 37%, 79%)
CMYKcmyk(0%, 37.1%, 15.3%, 20.8%)
CIE-LABlab(62.23, 35.27, -11.13)
CIE-LCHlch(62.23, 36.98, 342.49°)
OKLaboklab(68.83% 0.104 -0.0293)
OKLCHoklch(68.83% 0.108 344.2)
XYZxyz(39.2975, 30.6778, 42.3717)
Luminance0.3068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FAB #7FCA9E
analogous
#C37FCA #CA7FAB #CA7F86
triadic
#CA7FAB #ABCA7F #7FABCA
tetradic
#CA7FAB #CAC37F #7FCA9E #7F86CA
square
#CA7FAB #CAC37F #7FCA9E #7F86CA
split-complementary
#CA7FAB #86CA7F #7FCAC3
monochromatic
#923C6F #B8548F #CA7FAB #DCAAC7 #EED6E4

Accessibility & contrast

On white

2.94
#CA7FAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CA7FAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FAB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FAB#FFFFFF#000000##000000
##CA7FAB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#848FAD
Deuteranopia (green-blind)
#969BA9
Tritanopia (blue-blind)
#D37F8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7fab;
/* rgb */ color: rgb(202, 127, 171);
/* oklch */ color: oklch(68.8% 0.108 344.2);
Tailwind
colors: {
  custom: {
    50: '#dba5c4',
    500: '#ca7fab',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fab;
$custom-light: #dba5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fab",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 324.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68832,
    "c": 0.10803,
    "h": 344.2
  },
  "luminance": 0.30676
}

Semantic roles & 50–950 ramp

primary
#CA7FAB
secondary
#C5DFD0
accent
#B46731
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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