#CF3A71#CF3A71

#CF3A71 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.4% C 0.189 H 2.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CF3A71
RGBrgb(207, 58, 113)
HSLhsl(338, 61%, 52%)
HSVhsv(338, 72%, 81%)
CMYKcmyk(0%, 72%, 45.4%, 18.8%)
CIE-LABlab(48.87, 61.69, 3.30)
CIE-LCHlch(48.87, 61.78, 3.07°)
OKLaboklab(58.38% 0.1889 0.0092)
OKLCHoklch(58.38% 0.189 2.8)
XYZxyz(30.2282, 17.4877, 17.4033)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3A71 #3ACF98
analogous
#CF3ABC #CF3A71 #CF4E3A
triadic
#CF3A71 #71CF3A #3A71CF
tetradic
#CF3A71 #BCCF3A #3ACF98 #4E3ACF
square
#CF3A71 #BCCF3A #3ACF98 #4E3ACF
split-complementary
#CF3A71 #3ACF4E #3ABCCF
monochromatic
#731C3C #A42856 #CF3A71 #DB6B94 #E79CB8

Accessibility & contrast

On white

4.67
#CF3A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#CF3A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3A71
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3A71#FFFFFF#000000##FFFFFF
##CF3A711.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6272
Deuteranopia (green-blind)
#837F6E
Tritanopia (blue-blind)
#E12151
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf3a71;
/* rgb */ color: rgb(207, 58, 113);
/* oklch */ color: oklch(58.4% 0.189 2.8);
Tailwind
colors: {
  custom: {
    50: '#e37c99',
    500: '#cf3a71',
    950: '#000000',
  },
}
SCSS
$custom: #cf3a71;
$custom-light: #e37c99;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3a71",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 337.852,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.18912,
    "h": 2.8
  },
  "luminance": 0.17484
}

Semantic roles & 50–950 ramp

primary
#CF3A71
secondary
#92D3BB
accent
#E4A944
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF3A71

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

Preview Lab → · Contrast checker → · Palette generator →

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