#CF71B7#CF71B7

#CF71B7 is a light, vivid pink. Relative luminance 0.285; OKLCH L 67.7% C 0.146 H 337.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#CF71B7
RGBrgb(207, 113, 183)
HSLhsl(315, 49%, 63%)
HSVhsv(315, 45%, 81%)
CMYKcmyk(0%, 45.4%, 11.6%, 18.8%)
CIE-LABlab(60.34, 46.24, -20.79)
CIE-LCHlch(60.34, 50.70, 335.79°)
OKLaboklab(67.67% 0.1346 -0.0558)
OKLCHoklch(67.67% 0.146 337.5)
XYZxyz(40.1847, 28.4971, 48.1745)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71B7 #71CF89
analogous
#B871CF #CF71B7 #CF7188
triadic
#CF71B7 #B7CF71 #71B7CF
tetradic
#CF71B7 #CFB871 #71CF89 #7188CF
square
#CF71B7 #CFB871 #71CF89 #7188CF
split-complementary
#CF71B7 #88CF71 #71CFB8
monochromatic
#94327B #C043A0 #CF71B7 #DE9FCE #EECCE5

Accessibility & contrast

On white

3.13
#CF71B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#CF71B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71B7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71B7#FFFFFF#000000##000000
##CF71B71.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7389B9
Deuteranopia (green-blind)
#8C97B4
Tritanopia (blue-blind)
#D8748C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf71b7;
/* rgb */ color: rgb(207, 113, 183);
/* oklch */ color: oklch(67.7% 0.146 337.5);
Tailwind
colors: {
  custom: {
    50: '#df9ccc',
    500: '#cf71b7',
    950: '#000000',
  },
}
SCSS
$custom: #cf71b7;
$custom-light: #df9ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71b7",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 183
  },
  "hsl": {
    "h": 315.319,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6767,
    "c": 0.14572,
    "h": 337.5
  },
  "luminance": 0.28495
}

Semantic roles & 50–950 ramp

primary
#CF71B7
secondary
#BDDFC6
accent
#BD4F29
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E13
muted
#837E82

Preview Lab

Preview with #CF71B7

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

Preview Lab → · Contrast checker → · Palette generator →

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