#CF316D#CF316D

#CF316D is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.5% C 0.197 H 3.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CF316D
RGBrgb(207, 49, 109)
HSLhsl(337, 62%, 50%)
HSVhsv(337, 76%, 81%)
CMYKcmyk(0%, 76.3%, 47.3%, 18.8%)
CIE-LABlab(47.71, 64.26, 4.08)
CIE-LCHlch(47.71, 64.39, 3.63°)
OKLaboklab(57.5% 0.1969 0.0111)
OKLCHoklch(57.5% 0.197 3.2)
XYZxyz(29.5932, 16.5702, 16.1051)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF316D #31CF93
analogous
#CF31BC #CF316D #CF4431
triadic
#CF316D #6DCF31 #316DCF
tetradic
#CF316D #BCCF31 #31CF93 #4431CF
square
#CF316D #BCCF31 #31CF93 #4431CF
split-complementary
#CF316D #31CF44 #31BCCF
monochromatic
#6C1939 #9E2553 #CF316D #DB6390 #E694B3

Accessibility & contrast

On white

4.87
#CF316D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CF316D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF316D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF316D#FFFFFF#000000##FFFFFF
##CF316D1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E6E
Deuteranopia (green-blind)
#817C69
Tritanopia (blue-blind)
#E1074B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf316d;
/* rgb */ color: rgb(207, 49, 109);
/* oklch */ color: oklch(57.5% 0.197 3.2);
Tailwind
colors: {
  custom: {
    50: '#e47896',
    500: '#cf316d',
    950: '#000000',
  },
}
SCSS
$custom: #cf316d;
$custom-light: #e47896;
$custom-dark: #000000;
JSON
{
  "hex": "#cf316d",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 337.215,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57497,
    "c": 0.19722,
    "h": 3.2
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#CF316D
secondary
#8BD1B6
accent
#E5A743
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF316D

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

Preview Lab → · Contrast checker → · Palette generator →

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