#CD8FA6#CD8FA6

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

Color values

HEX#CD8FA6
RGBrgb(205, 143, 166)
HSLhsl(338, 38%, 68%)
HSVhsv(338, 30%, 80%)
CMYKcmyk(0%, 30.2%, 19%, 19.6%)
CIE-LABlab(66.04, 26.85, -2.61)
CIE-LCHlch(66.04, 26.98, 354.45°)
OKLaboklab(71.77% 0.0803 -0.0065)
OKLCHoklch(71.77% 0.081 355.4)
XYZxyz(41.8826, 35.3794, 40.6918)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FA6 #8FCDB6
analogous
#CD8FC5 #CD8FA6 #CD978F
triadic
#CD8FA6 #A6CD8F #8FA6CD
tetradic
#CD8FA6 #C5CD8F #8FCDB6 #978FCD
square
#CD8FA6 #C5CD8F #8FCDB6 #978FCD
split-complementary
#CD8FA6 #8FCD97 #8FC5CD
monochromatic
#9C4666 #BA6584 #CD8FA6 #E0B9C8 #F3E4E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD8FA6#FFFFFF#000000##000000
##CD8FA61.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)
#969AA7
Deuteranopia (green-blind)
#A4A5A5
Tritanopia (blue-blind)
#D78C97
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd8fa6;
/* rgb */ color: rgb(205, 143, 166);
/* oklch */ color: oklch(71.8% 0.081 355.4);
Tailwind
colors: {
  custom: {
    50: '#ddb0c0',
    500: '#cd8fa6',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fa6;
$custom-light: #ddb0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fa6",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 166
  },
  "hsl": {
    "h": 337.742,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71765,
    "c": 0.08052,
    "h": 355.4
  },
  "luminance": 0.35377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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