#CF3870#CF3870

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

Color values

HEX#CF3870
RGBrgb(207, 56, 112)
HSLhsl(338, 61%, 52%)
HSVhsv(338, 73%, 81%)
CMYKcmyk(0%, 72.9%, 45.9%, 18.8%)
CIE-LABlab(48.60, 62.28, 3.52)
CIE-LCHlch(48.60, 62.38, 3.23°)
OKLaboklab(58.17% 0.1908 0.0097)
OKLCHoklch(58.17% 0.191 2.9)
XYZxyz(30.0733, 17.2676, 17.0754)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3870 #38CF97
analogous
#CF38BC #CF3870 #CF4C38
triadic
#CF3870 #70CF38 #3870CF
tetradic
#CF3870 #BCCF38 #38CF97 #4C38CF
square
#CF3870 #BCCF38 #38CF97 #4C38CF
split-complementary
#CF3870 #38CF4C #38BCCF
monochromatic
#711B3B #A32755 #CF3870 #DB6993 #E79BB7

Accessibility & contrast

On white

4.72
#CF3870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CF3870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3870
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3870#FFFFFF#000000##FFFFFF
##CF38701.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6171
Deuteranopia (green-blind)
#837E6C
Tritanopia (blue-blind)
#E11C50
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf3870;
/* rgb */ color: rgb(207, 56, 112);
/* oklch */ color: oklch(58.2% 0.191 2.9);
Tailwind
colors: {
  custom: {
    50: '#e37b98',
    500: '#cf3870',
    950: '#000000',
  },
}
SCSS
$custom: #cf3870;
$custom-light: #e37b98;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3870",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 112
  },
  "hsl": {
    "h": 337.748,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.191,
    "h": 2.9
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF3870

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

Preview Lab → · Contrast checker → · Palette generator →

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