#CF3287#CF3287

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

Color values

HEX#CF3287
RGBrgb(207, 50, 135)
HSLhsl(328, 62%, 50%)
HSVhsv(328, 76%, 81%)
CMYKcmyk(0%, 75.8%, 34.8%, 18.8%)
CIE-LABlab(48.64, 66.49, -10.39)
CIE-LCHlch(48.64, 67.29, 351.12°)
OKLaboklab(58.44% 0.2039 -0.0267)
OKLCHoklch(58.44% 0.206 352.5)
XYZxyz(31.2478, 17.2997, 24.6106)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3287 #32CF7A
analogous
#C832CF #CF3287 #CF3238
triadic
#CF3287 #87CF32 #3287CF
tetradic
#CF3287 #CFC832 #32CF7A #3238CF
square
#CF3287 #CFC832 #32CF7A #3238CF
split-complementary
#CF3287 #38CF32 #32CFC8
monochromatic
#6D1A47 #9F2567 #CF3287 #DB64A4 #E695C1

Accessibility & contrast

On white

4.71
#CF3287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CF3287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3287
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3287#FFFFFF#000000##FFFFFF
##CF32871.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6189
Deuteranopia (green-blind)
#7C7E83
Tritanopia (blue-blind)
#DF2358
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf3287;
/* rgb */ color: rgb(207, 50, 135);
/* oklch */ color: oklch(58.4% 0.206 352.5);
Tailwind
colors: {
  custom: {
    50: '#e379aa',
    500: '#cf3287',
    950: '#000000',
  },
}
SCSS
$custom: #cf3287;
$custom-light: #e379aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3287",
  "rgb": {
    "r": 207,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 327.516,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58439,
    "c": 0.20568,
    "h": 352.5
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF3287

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

Preview Lab → · Contrast checker → · Palette generator →

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