#CF8EBD#CF8EBD

#CF8EBD is a light, moderate pink. Relative luminance 0.363; OKLCH L 72.6% C 0.100 H 337.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CF8EBD
RGBrgb(207, 142, 189)
HSLhsl(317, 40%, 68%)
HSVhsv(317, 31%, 81%)
CMYKcmyk(0%, 31.4%, 8.7%, 18.8%)
CIE-LABlab(66.74, 31.88, -14.46)
CIE-LCHlch(66.74, 35.01, 335.59°)
OKLaboklab(72.58% 0.0919 -0.0386)
OKLCHoklch(72.58% 0.1 337.2)
XYZxyz(44.5901, 36.2875, 52.7897)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EBD #8ECFA0
analogous
#C08ECF #CF8EBD #CF8E9C
triadic
#CF8EBD #BDCF8E #8EBDCF
tetradic
#CF8EBD #CFC08E #8ECFA0 #8E9CCF
square
#CF8EBD #CFC08E #8ECFA0 #8E9CCF
split-complementary
#CF8EBD #9CCF8E #8ECFC0
monochromatic
#9F4486 #BD63A4 #CF8EBD #E1B9D6 #F3E4EF

Accessibility & contrast

On white

2.54
#CF8EBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#CF8EBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EBD
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EBD#FFFFFF#000000##000000
##CF8EBD1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9CBF
Deuteranopia (green-blind)
#9FA6BB
Tritanopia (blue-blind)
#D6909F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf8ebd;
/* rgb */ color: rgb(207, 142, 189);
/* oklch */ color: oklch(72.6% 0.100 337.2);
Tailwind
colors: {
  custom: {
    50: '#deb0d1',
    500: '#cf8ebd',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ebd;
$custom-light: #deb0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ebd",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 189
  },
  "hsl": {
    "h": 316.615,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72579,
    "c": 0.09966,
    "h": 337.2
  },
  "luminance": 0.36286
}

Semantic roles & 50–950 ramp

primary
#CF8EBD
secondary
#D3E6D8
accent
#B35632
background
#FDFAFC
surface
#FBF5F9
border
#D4CFD2
text
#151014
muted
#837F82

Preview Lab

Preview with #CF8EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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