#CF3971#CF3971

#CF3971 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.3% C 0.190 H 2.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CF3971
RGBrgb(207, 57, 113)
HSLhsl(338, 61%, 52%)
HSVhsv(338, 72%, 81%)
CMYKcmyk(0%, 72.5%, 45.4%, 18.8%)
CIE-LABlab(48.74, 62.03, 3.12)
CIE-LCHlch(48.74, 62.11, 2.88°)
OKLaboklab(58.29% 0.19 0.0087)
OKLCHoklch(58.29% 0.19 2.6)
XYZxyz(30.1783, 17.3878, 17.3866)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3971 #39CF97
analogous
#CF39BC #CF3971 #CF4C39
triadic
#CF3971 #71CF39 #3971CF
tetradic
#CF3971 #BCCF39 #39CF97 #4C39CF
square
#CF3971 #BCCF39 #39CF97 #4C39CF
split-complementary
#CF3971 #39CF4C #39BCCF
monochromatic
#721C3C #A32856 #CF3971 #DB6A94 #E79CB8

Accessibility & contrast

On white

4.69
#CF3971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#CF3971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3971
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3971#FFFFFF#000000##FFFFFF
##CF39711.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#837E6D
Tritanopia (blue-blind)
#E11F51
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf3971;
/* rgb */ color: rgb(207, 57, 113);
/* oklch */ color: oklch(58.3% 0.190 2.6);
Tailwind
colors: {
  custom: {
    50: '#e37b99',
    500: '#cf3971',
    950: '#000000',
  },
}
SCSS
$custom: #cf3971;
$custom-light: #e37b99;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3971",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 337.6,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.19021,
    "h": 2.6
  },
  "luminance": 0.17384
}

Semantic roles & 50–950 ramp

primary
#CF3971
secondary
#91D3BA
accent
#E4A844
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF3971

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

Preview Lab → · Contrast checker → · Palette generator →

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