#CF316E#CF316E

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

Color values

HEX#CF316E
RGBrgb(207, 49, 110)
HSLhsl(337, 62%, 50%)
HSVhsv(337, 76%, 81%)
CMYKcmyk(0%, 76.3%, 46.9%, 18.8%)
CIE-LABlab(47.74, 64.35, 3.51)
CIE-LCHlch(47.74, 64.44, 3.12°)
OKLaboklab(57.53% 0.1973 0.0097)
OKLCHoklch(57.53% 0.198 2.8)
XYZxyz(29.6474, 16.5918, 16.3902)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF316E #31CF92
analogous
#CF31BD #CF316E #CF4331
triadic
#CF316E #6ECF31 #316ECF
tetradic
#CF316E #BDCF31 #31CF92 #4331CF
square
#CF316E #BDCF31 #31CF92 #4331CF
split-complementary
#CF316E #31CF43 #31BDCF
monochromatic
#6C1939 #9E2554 #CF316E #DB6391 #E694B4

Accessibility & contrast

On white

4.86
#CF316E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CF316E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF316E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF316E#FFFFFF#000000##FFFFFF
##CF316E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E6F
Deuteranopia (green-blind)
#817C6A
Tritanopia (blue-blind)
#E1094C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf316e;
/* rgb */ color: rgb(207, 49, 110);
/* oklch */ color: oklch(57.5% 0.198 2.8);
Tailwind
colors: {
  custom: {
    50: '#e47897',
    500: '#cf316e',
    950: '#000000',
  },
}
SCSS
$custom: #cf316e;
$custom-light: #e47897;
$custom-dark: #000000;
JSON
{
  "hex": "#cf316e",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 336.835,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57527,
    "c": 0.1975,
    "h": 2.8
  },
  "luminance": 0.16588
}

Semantic roles & 50–950 ramp

primary
#CF316E
secondary
#8BD1B6
accent
#E5A643
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF316E

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

Preview Lab → · Contrast checker → · Palette generator →

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