#CF71B1#CF71B1

#CF71B1 is a light, vivid pink. Relative luminance 0.282; OKLCH L 67.4% C 0.141 H 340.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#CF71B1
RGBrgb(207, 113, 177)
HSLhsl(319, 49%, 63%)
HSVhsv(319, 45%, 81%)
CMYKcmyk(0%, 45.4%, 14.5%, 18.8%)
CIE-LABlab(60.12, 45.27, -17.69)
CIE-LCHlch(60.12, 48.60, 338.65°)
OKLaboklab(67.43% 0.133 -0.0472)
OKLCHoklch(67.43% 0.141 340.5)
XYZxyz(39.5734, 28.2526, 44.9554)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF71B1 #71CF8F
analogous
#BE71CF #CF71B1 #CF7182
triadic
#CF71B1 #B1CF71 #71B1CF
tetradic
#CF71B1 #CFBE71 #71CF8F #7182CF
square
#CF71B1 #CFBE71 #71CF8F #7182CF
split-complementary
#CF71B1 #82CF71 #71CFBE
monochromatic
#943274 #C04398 #CF71B1 #DE9FCA #EECCE3

Accessibility & contrast

On white

3.16
#CF71B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#CF71B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF71B1
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF71B1#FFFFFF#000000##000000
##CF71B11.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B3
Deuteranopia (green-blind)
#8E96AE
Tritanopia (blue-blind)
#D97289
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf71b1;
/* rgb */ color: rgb(207, 113, 177);
/* oklch */ color: oklch(67.4% 0.141 340.5);
Tailwind
colors: {
  custom: {
    50: '#df9cc8',
    500: '#cf71b1',
    950: '#000000',
  },
}
SCSS
$custom: #cf71b1;
$custom-light: #df9cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf71b1",
  "rgb": {
    "r": 207,
    "g": 113,
    "b": 177
  },
  "hsl": {
    "h": 319.149,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67434,
    "c": 0.14115,
    "h": 340.5
  },
  "luminance": 0.2825
}

Semantic roles & 50–950 ramp

primary
#CF71B1
secondary
#BDDFC8
accent
#BD5829
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E13
muted
#837E82

Preview Lab

Preview with #CF71B1

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

Preview Lab → · Contrast checker → · Palette generator →

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