#CF3186#CF3186

#CF3186 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.3% C 0.206 H 352.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CF3186
RGBrgb(207, 49, 134)
HSLhsl(328, 62%, 50%)
HSVhsv(328, 76%, 81%)
CMYKcmyk(0%, 76.3%, 35.3%, 18.8%)
CIE-LABlab(48.49, 66.68, -10.00)
CIE-LCHlch(48.49, 67.42, 351.47°)
OKLaboklab(58.33% 0.2046 -0.0257)
OKLCHoklch(58.33% 0.206 352.9)
XYZxyz(31.1355, 17.1871, 24.2275)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3186 #31CF7A
analogous
#C931CF #CF3186 #CF3137
triadic
#CF3186 #86CF31 #3186CF
tetradic
#CF3186 #CFC931 #31CF7A #3137CF
square
#CF3186 #CFC931 #31CF7A #3137CF
split-complementary
#CF3186 #37CF31 #31CFC9
monochromatic
#6C1946 #9E2566 #CF3186 #DB63A3 #E694C0

Accessibility & contrast

On white

4.73
#CF3186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CF3186 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3186
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3186#FFFFFF#000000##FFFFFF
##CF31861.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6188
Deuteranopia (green-blind)
#7C7D82
Tritanopia (blue-blind)
#DF2158
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf3186;
/* rgb */ color: rgb(207, 49, 134);
/* oklch */ color: oklch(58.3% 0.206 352.9);
Tailwind
colors: {
  custom: {
    50: '#e379a9',
    500: '#cf3186',
    950: '#000000',
  },
}
SCSS
$custom: #cf3186;
$custom-light: #e379a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3186",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 327.722,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58325,
    "c": 0.20622,
    "h": 352.9
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#CF3186
secondary
#8BD1AB
accent
#E58E43
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF3186

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

Preview Lab → · Contrast checker → · Palette generator →

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