#CF3166#CF3166

#CF3166 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.3% C 0.196 H 6.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CF3166
RGBrgb(207, 49, 102)
HSLhsl(340, 62%, 50%)
HSVhsv(340, 76%, 81%)
CMYKcmyk(0%, 76.3%, 50.7%, 18.8%)
CIE-LABlab(47.53, 63.67, 8.11)
CIE-LCHlch(47.53, 64.19, 7.26°)
OKLaboklab(57.3% 0.1944 0.0211)
OKLCHoklch(57.3% 0.196 6.2)
XYZxyz(29.2313, 16.4254, 14.1990)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3166 #31CF9A
analogous
#CF31B5 #CF3166 #CF4B31
triadic
#CF3166 #66CF31 #3166CF
tetradic
#CF3166 #B5CF31 #31CF9A #4B31CF
square
#CF3166 #B5CF31 #31CF9A #4B31CF
split-complementary
#CF3166 #31CF4B #31B5CF
monochromatic
#6C1935 #9E254D #CF3166 #DB638B #E694B0

Accessibility & contrast

On white

4.90
#CF3166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CF3166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3166
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3166#FFFFFF#000000##FFFFFF
##CF31661.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595D67
Deuteranopia (green-blind)
#837C62
Tritanopia (blue-blind)
#E20048
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf3166;
/* rgb */ color: rgb(207, 49, 102);
/* oklch */ color: oklch(57.3% 0.196 6.2);
Tailwind
colors: {
  custom: {
    50: '#e47891',
    500: '#cf3166',
    950: '#000000',
  },
}
SCSS
$custom: #cf3166;
$custom-light: #e47891;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3166",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 339.873,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.573,
    "c": 0.19557,
    "h": 6.2
  },
  "luminance": 0.16421
}

Semantic roles & 50–950 ramp

primary
#CF3166
secondary
#8BD1BA
accent
#E5AF43
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CF3166

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

Preview Lab → · Contrast checker → · Palette generator →

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