#CF3871#CF3871

#CF3871 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.2% C 0.191 H 2.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CF3871
RGBrgb(207, 56, 113)
HSLhsl(337, 61%, 52%)
HSVhsv(337, 73%, 81%)
CMYKcmyk(0%, 72.9%, 45.4%, 18.8%)
CIE-LABlab(48.62, 62.37, 2.95)
CIE-LCHlch(48.62, 62.44, 2.71°)
OKLaboklab(58.2% 0.1911 0.0083)
OKLCHoklch(58.2% 0.191 2.5)
XYZxyz(30.1293, 17.2899, 17.3703)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3871 #38CF96
analogous
#CF38BD #CF3871 #CF4B38
triadic
#CF3871 #71CF38 #3871CF
tetradic
#CF3871 #BDCF38 #38CF96 #4B38CF
square
#CF3871 #BDCF38 #38CF96 #4B38CF
split-complementary
#CF3871 #38CF4B #38BDCF
monochromatic
#711B3C #A32756 #CF3871 #DB6994 #E79BB7

Accessibility & contrast

On white

4.71
#CF3871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CF3871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3871
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3871#FFFFFF#000000##FFFFFF
##CF38711.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6172
Deuteranopia (green-blind)
#837E6D
Tritanopia (blue-blind)
#E11D50
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf3871;
/* rgb */ color: rgb(207, 56, 113);
/* oklch */ color: oklch(58.2% 0.191 2.5);
Tailwind
colors: {
  custom: {
    50: '#e37b99',
    500: '#cf3871',
    950: '#000000',
  },
}
SCSS
$custom: #cf3871;
$custom-light: #e37b99;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3871",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 337.351,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.19127,
    "h": 2.5
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#CF3871
secondary
#90D3BA
accent
#E4A844
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF3871

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

Preview Lab → · Contrast checker → · Palette generator →

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