#CD8FA7#CD8FA7

#CD8FA7 is a light, moderate pink. Relative luminance 0.354; OKLCH L 71.8% C 0.081 H 354.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CD8FA7
RGBrgb(205, 143, 167)
HSLhsl(337, 38%, 68%)
HSVhsv(337, 30%, 80%)
CMYKcmyk(0%, 30.2%, 18.5%, 19.6%)
CIE-LABlab(66.07, 27.01, -3.13)
CIE-LCHlch(66.07, 27.19, 353.39°)
OKLaboklab(71.8% 0.0806 -0.0079)
OKLCHoklch(71.8% 0.081 354.4)
XYZxyz(41.9747, 35.4162, 41.1768)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FA7 #8FCDB5
analogous
#CD8FC6 #CD8FA7 #CD968F
triadic
#CD8FA7 #A7CD8F #8FA7CD
tetradic
#CD8FA7 #C6CD8F #8FCDB5 #968FCD
square
#CD8FA7 #C6CD8F #8FCDB5 #968FCD
split-complementary
#CD8FA7 #8FCD96 #8FC6CD
monochromatic
#9C4667 #BA6586 #CD8FA7 #E0B9C8 #F3E4E9

Accessibility & contrast

On white

2.60
#CD8FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CD8FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FA7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FA7#FFFFFF#000000##000000
##CD8FA71.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#969AA8
Deuteranopia (green-blind)
#A4A5A6
Tritanopia (blue-blind)
#D78D97
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd8fa7;
/* rgb */ color: rgb(205, 143, 167);
/* oklch */ color: oklch(71.8% 0.081 354.4);
Tailwind
colors: {
  custom: {
    50: '#ddb0c1',
    500: '#cd8fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fa7;
$custom-light: #ddb0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fa7",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 167
  },
  "hsl": {
    "h": 336.774,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71796,
    "c": 0.08101,
    "h": 354.4
  },
  "luminance": 0.35414
}

Semantic roles & 50–950 ramp

primary
#CD8FA7
secondary
#D2E5DE
accent
#B18134
background
#FDFAFB
surface
#FBF5F7
border
#D4CFD0
text
#151012
muted
#837F81

Preview Lab

Preview with #CD8FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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