#CF8DA7#CF8DA7

#CF8DA7 is a light, moderate pink. Relative luminance 0.351; OKLCH L 71.7% C 0.087 H 354.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CF8DA7
RGBrgb(207, 141, 167)
HSLhsl(336, 41%, 68%)
HSVhsv(336, 32%, 81%)
CMYKcmyk(0%, 31.9%, 19.3%, 18.8%)
CIE-LABlab(65.83, 28.81, -3.46)
CIE-LCHlch(65.83, 29.02, 353.16°)
OKLaboklab(71.66% 0.0861 -0.0088)
OKLCHoklch(71.66% 0.087 354.2)
XYZxyz(42.2325, 35.1075, 41.1037)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DA7 #8DCFB5
analogous
#CF8DC8 #CF8DA7 #CF948D
triadic
#CF8DA7 #A7CF8D #8DA7CF
tetradic
#CF8DA7 #C8CF8D #8DCFB5 #948DCF
square
#CF8DA7 #C8CF8D #8DCFB5 #948DCF
split-complementary
#CF8DA7 #8DCF94 #8DC8CF
monochromatic
#9F4367 #BD6286 #CF8DA7 #E1B8C8 #F3E3E9

Accessibility & contrast

On white

2.62
#CF8DA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CF8DA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DA7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DA7#FFFFFF#000000##000000
##CF8DA71.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9499A8
Deuteranopia (green-blind)
#A4A4A5
Tritanopia (blue-blind)
#D98A96
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf8da7;
/* rgb */ color: rgb(207, 141, 167);
/* oklch */ color: oklch(71.7% 0.087 354.2);
Tailwind
colors: {
  custom: {
    50: '#dfafc1',
    500: '#cf8da7',
    950: '#000000',
  },
}
SCSS
$custom: #cf8da7;
$custom-light: #dfafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8da7",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 167
  },
  "hsl": {
    "h": 336.364,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71662,
    "c": 0.08654,
    "h": 354.2
  },
  "luminance": 0.35105
}

Semantic roles & 50–950 ramp

primary
#CF8DA7
secondary
#D2E6DE
accent
#B48132
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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