#CF89B2#CF89B2

#CF89B2 is a light, moderate pink. Relative luminance 0.344; OKLCH L 71.3% C 0.100 H 343.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CF89B2
RGBrgb(207, 137, 178)
HSLhsl(325, 42%, 67%)
HSVhsv(325, 34%, 81%)
CMYKcmyk(0%, 33.8%, 14%, 18.8%)
CIE-LABlab(65.26, 32.73, -10.51)
CIE-LCHlch(65.26, 34.38, 342.20°)
OKLaboklab(71.33% 0.0962 -0.0277)
OKLCHoklch(71.33% 0.1 343.9)
XYZxyz(42.7138, 34.3733, 46.4957)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF89B2 #89CFA6
analogous
#C989CF #CF89B2 #CF898F
triadic
#CF89B2 #B2CF89 #89B2CF
tetradic
#CF89B2 #CFC989 #89CFA6 #898FCF
square
#CF89B2 #CFC989 #89CFA6 #898FCF
split-complementary
#CF89B2 #8FCF89 #89CFC9
monochromatic
#9E4077 #BD5D96 #CF89B2 #E1B5CE #F2E0EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF89B2#FFFFFF#000000##000000
##CF89B21.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)
#8D98B4
Deuteranopia (green-blind)
#9EA3B0
Tritanopia (blue-blind)
#D88997
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf89b2;
/* rgb */ color: rgb(207, 137, 178);
/* oklch */ color: oklch(71.3% 0.100 343.9);
Tailwind
colors: {
  custom: {
    50: '#dfacc9',
    500: '#cf89b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf89b2;
$custom-light: #dfacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf89b2",
  "rgb": {
    "r": 207,
    "g": 137,
    "b": 178
  },
  "hsl": {
    "h": 324.857,
    "s": 42.169,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71333,
    "c": 0.1001,
    "h": 343.9
  },
  "luminance": 0.34371
}

Semantic roles & 50–950 ramp

primary
#CF89B2
secondary
#CFE5D8
accent
#B56730
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #CF89B2

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

Preview Lab → · Contrast checker → · Palette generator →

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