#CF8FA7#CF8FA7

#CF8FA7 is a light, moderate pink. Relative luminance 0.357; OKLCH L 72.0% C 0.083 H 355.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#CF8FA7
RGBrgb(207, 143, 167)
HSLhsl(338, 40%, 69%)
HSVhsv(338, 31%, 81%)
CMYKcmyk(0%, 30.9%, 19.3%, 18.8%)
CIE-LABlab(66.29, 27.73, -2.78)
CIE-LCHlch(66.29, 27.87, 354.28°)
OKLaboklab(72.01% 0.0829 -0.007)
OKLCHoklch(72.01% 0.083 355.2)
XYZxyz(42.5301, 35.7026, 41.2028)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FA7 #8FCFB7
analogous
#CF8FC7 #CF8FA7 #CF978F
triadic
#CF8FA7 #A7CF8F #8FA7CF
tetradic
#CF8FA7 #C7CF8F #8FCFB7 #978FCF
square
#CF8FA7 #C7CF8F #8FCFB7 #978FCF
split-complementary
#CF8FA7 #8FCF97 #8FC7CF
monochromatic
#9F4466 #BD6485 #CF8FA7 #E1BAC9 #F4E5EA

Accessibility & contrast

On white

2.58
#CF8FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#CF8FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FA7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FA7#FFFFFF#000000##000000
##CF8FA71.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#969BA8
Deuteranopia (green-blind)
#A5A5A6
Tritanopia (blue-blind)
#D98C97
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf8fa7;
/* rgb */ color: rgb(207, 143, 167);
/* oklch */ color: oklch(72.0% 0.083 355.2);
Tailwind
colors: {
  custom: {
    50: '#deb0c1',
    500: '#cf8fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fa7;
$custom-light: #deb0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fa7",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 167
  },
  "hsl": {
    "h": 337.5,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72014,
    "c": 0.0832,
    "h": 355.2
  },
  "luminance": 0.357
}

Semantic roles & 50–950 ramp

primary
#CF8FA7
secondary
#D3E6DF
accent
#B38332
background
#FDFAFB
surface
#FBF5F7
border
#D4CFD0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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