#CA7FAC#CA7FAC

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

Color values

HEX#CA7FAC
RGBrgb(202, 127, 172)
HSLhsl(324, 41%, 65%)
HSVhsv(324, 37%, 79%)
CMYKcmyk(0%, 37.1%, 14.9%, 20.8%)
CIE-LABlab(62.27, 35.43, -11.65)
CIE-LCHlch(62.27, 37.30, 341.80°)
OKLaboklab(68.87% 0.1043 -0.0308)
OKLCHoklch(68.87% 0.109 343.6)
XYZxyz(39.3931, 30.7161, 42.8756)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FAC #7FCA9D
analogous
#C27FCA #CA7FAC #CA7F87
triadic
#CA7FAC #ACCA7F #7FACCA
tetradic
#CA7FAC #CAC27F #7FCA9D #7F87CA
square
#CA7FAC #CAC27F #7FCA9D #7F87CA
split-complementary
#CA7FAC #87CA7F #7FCAC2
monochromatic
#923C70 #B85490 #CA7FAC #DCAAC8 #EED6E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7FAC#FFFFFF#000000##000000
##CA7FAC1.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)
#838FAE
Deuteranopia (green-blind)
#969BAA
Tritanopia (blue-blind)
#D37F8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca7fac;
/* rgb */ color: rgb(202, 127, 172);
/* oklch */ color: oklch(68.9% 0.109 343.6);
Tailwind
colors: {
  custom: {
    50: '#dba5c4',
    500: '#ca7fac',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fac;
$custom-light: #dba5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fac",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 324,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68868,
    "c": 0.10873,
    "h": 343.6
  },
  "luminance": 0.30714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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