#CF8FA2#CF8FA2

#CF8FA2 is a light, moderate pink. Relative luminance 0.355; OKLCH L 71.9% C 0.081 H 360.0°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#CF8FA2
RGBrgb(207, 143, 162)
HSLhsl(342, 40%, 69%)
HSVhsv(342, 31%, 81%)
CMYKcmyk(0%, 30.9%, 21.7%, 18.8%)
CIE-LABlab(66.15, 26.96, -0.17)
CIE-LCHlch(66.15, 26.96, 359.64°)
OKLaboklab(71.86% 0.0811 -0.0001)
OKLCHoklch(71.86% 0.081 0)
XYZxyz(42.0768, 35.5213, 38.8154)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FA2 #8FCFBC
analogous
#CF8FC2 #CF8FA2 #CF9C8F
triadic
#CF8FA2 #A2CF8F #8FA2CF
tetradic
#CF8FA2 #C2CF8F #8FCFBC #9C8FCF
square
#CF8FA2 #C2CF8F #8FCFBC #9C8FCF
split-complementary
#CF8FA2 #8FCF9C #8FC2CF
monochromatic
#9F445F #BD647E #CF8FA2 #E1BAC6 #F4E5E9

Accessibility & contrast

On white

2.59
#CF8FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#CF8FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FA2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FA2#FFFFFF#000000##000000
##CF8FA21.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#979AA3
Deuteranopia (green-blind)
#A6A5A1
Tritanopia (blue-blind)
#DA8B95
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf8fa2;
/* rgb */ color: rgb(207, 143, 162);
/* oklch */ color: oklch(71.9% 0.081 360.0);
Tailwind
colors: {
  custom: {
    50: '#dfb0bd',
    500: '#cf8fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fa2;
$custom-light: #dfb0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fa2",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 162
  },
  "hsl": {
    "h": 342.188,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71861,
    "c": 0.08109,
    "h": 360
  },
  "luminance": 0.35519
}

Semantic roles & 50–950 ramp

primary
#CF8FA2
secondary
#D3E6E1
accent
#B38D32
background
#FDFAFB
surface
#FBF5F6
border
#D4CFD0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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