#CF87A2#CF87A2

#CF87A2 is a light, moderate pink. Relative luminance 0.332; OKLCH L 70.5% C 0.094 H 355.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CF87A2
RGBrgb(207, 135, 162)
HSLhsl(338, 43%, 67%)
HSVhsv(338, 35%, 81%)
CMYKcmyk(0%, 34.8%, 21.7%, 18.8%)
CIE-LABlab(64.33, 31.31, -2.85)
CIE-LCHlch(64.33, 31.44, 354.81°)
OKLaboklab(70.46% 0.0939 -0.0071)
OKLCHoklch(70.46% 0.094 355.7)
XYZxyz(40.9184, 33.2045, 38.4293)
Luminance0.3320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF87A2 #87CFB4
analogous
#CF87C6 #CF87A2 #CF9087
triadic
#CF87A2 #A2CF87 #87A2CF
tetradic
#CF87A2 #C6CF87 #87CFB4 #9087CF
square
#CF87A2 #C6CF87 #87CFB4 #9087CF
split-complementary
#CF87A2 #87CF90 #87C6CF
monochromatic
#9D3F62 #BE5B80 #CF87A2 #E0B3C4 #F2DEE6

Accessibility & contrast

On white

2.75
#CF87A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#CF87A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF87A2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF87A2#FFFFFF#000000##000000
##CF87A21.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F94A3
Deuteranopia (green-blind)
#A1A1A0
Tritanopia (blue-blind)
#DA8490
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf87a2;
/* rgb */ color: rgb(207, 135, 162);
/* oklch */ color: oklch(70.5% 0.094 355.7);
Tailwind
colors: {
  custom: {
    50: '#dfabbd',
    500: '#cf87a2',
    950: '#000000',
  },
}
SCSS
$custom: #cf87a2;
$custom-light: #dfabbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf87a2",
  "rgb": {
    "r": 207,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 337.5,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70463,
    "c": 0.09418,
    "h": 355.7
  },
  "luminance": 0.33202
}

Semantic roles & 50–950 ramp

primary
#CF87A2
secondary
#CDE4DC
accent
#B68430
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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