#CF8DA2#CF8DA2

#CF8DA2 is a light, moderate pink. Relative luminance 0.349; OKLCH L 71.5% C 0.084 H 358.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CF8DA2
RGBrgb(207, 141, 162)
HSLhsl(341, 41%, 68%)
HSVhsv(341, 32%, 81%)
CMYKcmyk(0%, 31.9%, 21.7%, 18.8%)
CIE-LABlab(65.69, 28.05, -0.84)
CIE-LCHlch(65.69, 28.07, 358.28°)
OKLaboklab(71.51% 0.0843 -0.0018)
OKLCHoklch(71.51% 0.084 358.8)
XYZxyz(41.7792, 34.9262, 38.7162)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DA2 #8DCFBA
analogous
#CF8DC3 #CF8DA2 #CF998D
triadic
#CF8DA2 #A2CF8D #8DA2CF
tetradic
#CF8DA2 #C3CF8D #8DCFBA #998DCF
square
#CF8DA2 #C3CF8D #8DCFBA #998DCF
split-complementary
#CF8DA2 #8DCF99 #8DC3CF
monochromatic
#9F4360 #BD627F #CF8DA2 #E1B8C5 #F3E3E8

Accessibility & contrast

On white

2.63
#CF8DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#CF8DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DA2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DA2#FFFFFF#000000##000000
##CF8DA21.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9599A3
Deuteranopia (green-blind)
#A5A4A1
Tritanopia (blue-blind)
#DA8A94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf8da2;
/* rgb */ color: rgb(207, 141, 162);
/* oklch */ color: oklch(71.5% 0.084 358.8);
Tailwind
colors: {
  custom: {
    50: '#dfafbd',
    500: '#cf8da2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8da2;
$custom-light: #dfafbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8da2",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 162
  },
  "hsl": {
    "h": 340.909,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71507,
    "c": 0.08431,
    "h": 358.8
  },
  "luminance": 0.34924
}

Semantic roles & 50–950 ramp

primary
#CF8DA2
secondary
#D2E6E0
accent
#B48A32
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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