#CF316A#CF316A

#CF316A is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.4% C 0.196 H 4.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CF316A
RGBrgb(207, 49, 106)
HSLhsl(338, 62%, 50%)
HSVhsv(338, 76%, 81%)
CMYKcmyk(0%, 76.3%, 48.8%, 18.8%)
CIE-LABlab(47.63, 64.00, 5.80)
CIE-LCHlch(47.63, 64.27, 5.18°)
OKLaboklab(57.41% 0.1959 0.0154)
OKLCHoklch(57.41% 0.196 4.5)
XYZxyz(29.4345, 16.5067, 15.2690)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF316A #31CF96
analogous
#CF31B9 #CF316A #CF4731
triadic
#CF316A #6ACF31 #316ACF
tetradic
#CF316A #B9CF31 #31CF96 #4731CF
square
#CF316A #B9CF31 #31CF96 #4731CF
split-complementary
#CF316A #31CF47 #31B9CF
monochromatic
#6C1937 #9E2551 #CF316A #DB638E #E694B2

Accessibility & contrast

On white

4.88
#CF316A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#CF316A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF316A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF316A#FFFFFF#000000##FFFFFF
##CF316A1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585D6B
Deuteranopia (green-blind)
#827C66
Tritanopia (blue-blind)
#E1034A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf316a;
/* rgb */ color: rgb(207, 49, 106);
/* oklch */ color: oklch(57.4% 0.196 4.5);
Tailwind
colors: {
  custom: {
    50: '#e47894',
    500: '#cf316a',
    950: '#000000',
  },
}
SCSS
$custom: #cf316a;
$custom-light: #e47894;
$custom-dark: #000000;
JSON
{
  "hex": "#cf316a",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 338.354,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.19647,
    "h": 4.5
  },
  "luminance": 0.16503
}

Semantic roles & 50–950 ramp

primary
#CF316A
secondary
#8BD1B8
accent
#E5AB43
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF316A

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

Preview Lab → · Contrast checker → · Palette generator →

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