#CF71A7#CF71A7

#CF71A7 is a light, vivid pink. Relative luminance 0.279; OKLCH L 67.1% C 0.134 H 345.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#CF71A7
RGBrgb(207, 113, 167)
HSLhsl(326, 49%, 63%)
HSVhsv(326, 45%, 81%)
CMYKcmyk(0%, 45.4%, 19.3%, 18.8%)
CIE-LABlab(59.77, 43.72, -12.48)
CIE-LCHlch(59.77, 45.47, 344.07°)
OKLaboklab(67.06% 0.1302 -0.0329)
OKLCHoklch(67.06% 0.134 345.8)
XYZxyz(38.6130, 27.8685, 39.8971)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71A7 #71CF99
analogous
#C871CF #CF71A7 #CF7178
triadic
#CF71A7 #A7CF71 #71A7CF
tetradic
#CF71A7 #CFC871 #71CF99 #7178CF
square
#CF71A7 #CFC871 #71CF99 #7178CF
split-complementary
#CF71A7 #78CF71 #71CFC8
monochromatic
#94326A #C0438B #CF71A7 #DE9FC3 #EECCE0

Accessibility & contrast

On white

3.19
#CF71A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#CF71A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71A7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71A7#FFFFFF#000000##000000
##CF71A71.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7986A9
Deuteranopia (green-blind)
#9196A5
Tritanopia (blue-blind)
#DA7085
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf71a7;
/* rgb */ color: rgb(207, 113, 167);
/* oklch */ color: oklch(67.1% 0.134 345.8);
Tailwind
colors: {
  custom: {
    50: '#e09cc1',
    500: '#cf71a7',
    950: '#000000',
  },
}
SCSS
$custom: #cf71a7;
$custom-light: #e09cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71a7",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 167
  },
  "hsl": {
    "h": 325.532,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67059,
    "c": 0.13425,
    "h": 345.8
  },
  "luminance": 0.27866
}

Semantic roles & 50–950 ramp

primary
#CF71A7
secondary
#BDDFCB
accent
#BD6829
background
#FDF9FB
surface
#FBF2F7
border
#D4CCD0
text
#150E12
muted
#837E81

Preview Lab

Preview with #CF71A7

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

Preview Lab → · Contrast checker → · Palette generator →

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