#CF8AAA#CF8AAA

#CF8AAA is a light, moderate pink. Relative luminance 0.343; OKLCH L 71.2% C 0.093 H 350.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CF8AAA
RGBrgb(207, 138, 170)
HSLhsl(332, 42%, 68%)
HSVhsv(332, 33%, 81%)
CMYKcmyk(0%, 33.3%, 17.9%, 18.8%)
CIE-LABlab(65.24, 30.91, -6.03)
CIE-LCHlch(65.24, 31.49, 348.97°)
OKLaboklab(71.24% 0.0919 -0.0156)
OKLCHoklch(71.24% 0.093 350.4)
XYZxyz(42.0767, 34.3470, 42.4358)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8AAA #8ACFAF
analogous
#CF8ACC #CF8AAA #CF8D8A
triadic
#CF8AAA #AACF8A #8AAACF
tetradic
#CF8AAA #CCCF8A #8ACFAF #8D8ACF
square
#CF8AAA #CCCF8A #8ACFAF #8D8ACF
split-complementary
#CF8AAA #8ACF8D #8ACCCF
monochromatic
#9E416C #BD5F8A #CF8AAA #E1B5CA #F3E1E9

Accessibility & contrast

On white

2.67
#CF8AAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CF8AAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8AAA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8AAA#FFFFFF#000000##000000
##CF8AAA1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9097AB
Deuteranopia (green-blind)
#A1A3A8
Tritanopia (blue-blind)
#D98895
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf8aaa;
/* rgb */ color: rgb(207, 138, 170);
/* oklch */ color: oklch(71.2% 0.093 350.4);
Tailwind
colors: {
  custom: {
    50: '#dfadc3',
    500: '#cf8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #cf8aaa;
$custom-light: #dfadc3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8aaa",
  "rgb": {
    "r": 207,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 332.174,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71236,
    "c": 0.09323,
    "h": 350.4
  },
  "luminance": 0.34345
}

Semantic roles & 50–950 ramp

primary
#CF8AAA
secondary
#D0E5DB
accent
#B57831
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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