#CF3187#CF3187

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

Color values

HEX#CF3187
RGBrgb(207, 49, 135)
HSLhsl(327, 62%, 50%)
HSVhsv(327, 76%, 81%)
CMYKcmyk(0%, 76.3%, 34.8%, 18.8%)
CIE-LABlab(48.53, 66.79, -10.55)
CIE-LCHlch(48.53, 67.61, 351.03°)
OKLaboklab(58.36% 0.2049 -0.0271)
OKLCHoklch(58.36% 0.207 352.5)
XYZxyz(31.2055, 17.2151, 24.5965)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3187 #31CF79
analogous
#C831CF #CF3187 #CF3138
triadic
#CF3187 #87CF31 #3187CF
tetradic
#CF3187 #CFC831 #31CF79 #3138CF
square
#CF3187 #CFC831 #31CF79 #3138CF
split-complementary
#CF3187 #38CF31 #31CFC8
monochromatic
#6C1946 #9E2567 #CF3187 #DB63A4 #E694C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF3187#FFFFFF#000000##FFFFFF
##CF31871.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)
#4F6189
Deuteranopia (green-blind)
#7C7E83
Tritanopia (blue-blind)
#DF2158
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf3187;
/* rgb */ color: rgb(207, 49, 135);
/* oklch */ color: oklch(58.4% 0.207 352.5);
Tailwind
colors: {
  custom: {
    50: '#e379aa',
    500: '#cf3187',
    950: '#000000',
  },
}
SCSS
$custom: #cf3187;
$custom-light: #e379aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3187",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 327.342,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.20667,
    "h": 352.5
  },
  "luminance": 0.17211
}

Semantic roles & 50–950 ramp

primary
#CF3187
secondary
#8BD1AB
accent
#E58D43
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CF3187

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

Preview Lab → · Contrast checker → · Palette generator →

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