#CA8FA7#CA8FA7

#CA8FA7 is a light, moderate pink. Relative luminance 0.350; OKLCH L 71.5% C 0.078 H 353.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#CA8FA7
RGBrgb(202, 143, 167)
HSLhsl(336, 36%, 68%)
HSVhsv(336, 29%, 79%)
CMYKcmyk(0%, 29.2%, 17.3%, 20.8%)
CIE-LABlab(65.74, 25.92, -3.65)
CIE-LCHlch(65.74, 26.18, 351.99°)
OKLaboklab(71.47% 0.0772 -0.0093)
OKLCHoklch(71.47% 0.078 353.1)
XYZxyz(41.1549, 34.9935, 41.1384)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FA7 #8FCAB2
analogous
#CA8FC5 #CA8FA7 #CA948F
triadic
#CA8FA7 #A7CA8F #8FA7CA
tetradic
#CA8FA7 #C5CA8F #8FCAB2 #948FCA
square
#CA8FA7 #C5CA8F #8FCAB2 #948FCA
split-complementary
#CA8FA7 #8FCA94 #8FC5CA
monochromatic
#974868 #B66586 #CA8FA7 #DEB9C8 #F1E2E8

Accessibility & contrast

On white

2.63
#CA8FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#CA8FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FA7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FA7#FFFFFF#000000##000000
##CA8FA71.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#959AA8
Deuteranopia (green-blind)
#A3A3A6
Tritanopia (blue-blind)
#D38D97
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca8fa7;
/* rgb */ color: rgb(202, 143, 167);
/* oklch */ color: oklch(71.5% 0.078 353.1);
Tailwind
colors: {
  custom: {
    50: '#dbb0c1',
    500: '#ca8fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fa7;
$custom-light: #dbb0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fa7",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 167
  },
  "hsl": {
    "h": 335.593,
    "s": 35.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71471,
    "c": 0.07775,
    "h": 353.1
  },
  "luminance": 0.34991
}

Semantic roles & 50–950 ramp

primary
#CA8FA7
secondary
#D1E4DC
accent
#AF7E37
background
#FDFAFB
surface
#FBF5F7
border
#D4CFD0
text
#151012
muted
#837F81

Preview Lab

Preview with #CA8FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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