#CA8FAC#CA8FAC

#CA8FAC is a light, moderate pink. Relative luminance 0.352; OKLCH L 71.6% C 0.081 H 348.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CA8FAC
RGBrgb(202, 143, 172)
HSLhsl(331, 36%, 68%)
HSVhsv(331, 29%, 79%)
CMYKcmyk(0%, 29.2%, 14.9%, 20.8%)
CIE-LABlab(65.89, 26.73, -6.25)
CIE-LCHlch(65.89, 27.45, 346.85°)
OKLaboklab(71.63% 0.079 -0.0163)
OKLCHoklch(71.63% 0.081 348.4)
XYZxyz(41.6261, 35.1820, 43.6199)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FAC #8FCAAD
analogous
#CA8FCA #CA8FAC #CA8F8F
triadic
#CA8FAC #ACCA8F #8FACCA
tetradic
#CA8FAC #CACA8F #8FCAAD #8F8FCA
square
#CA8FAC #CACA8F #8FCAAD #8F8FCA
split-complementary
#CA8FAC #8FCA8F #8FCACA
monochromatic
#97486F #B6658D #CA8FAC #DEB9CB #F1E2EA

Accessibility & contrast

On white

2.61
#CA8FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CA8FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FAC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FAC#FFFFFF#000000##000000
##CA8FAC1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#949AAD
Deuteranopia (green-blind)
#A2A4AA
Tritanopia (blue-blind)
#D28E99
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca8fac;
/* rgb */ color: rgb(202, 143, 172);
/* oklch */ color: oklch(71.6% 0.081 348.4);
Tailwind
colors: {
  custom: {
    50: '#dbb0c4',
    500: '#ca8fac',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fac;
$custom-light: #dbb0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fac",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 330.508,
    "s": 35.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71632,
    "c": 0.08063,
    "h": 348.4
  },
  "luminance": 0.3518
}

Semantic roles & 50–950 ramp

primary
#CA8FAC
secondary
#D1E4DB
accent
#AF7437
background
#FDFAFC
surface
#FBF5F8
border
#D4CFD1
text
#151012
muted
#837F81

Preview Lab

Preview with #CA8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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