#CF4587#CF4587

#CF4587 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.2% C 0.184 H 354.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CF4587
RGBrgb(207, 69, 135)
HSLhsl(331, 59%, 54%)
HSVhsv(331, 67%, 81%)
CMYKcmyk(0%, 66.7%, 34.8%, 18.8%)
CIE-LABlab(51.01, 59.86, -6.84)
CIE-LCHlch(51.01, 60.25, 353.48°)
OKLaboklab(60.18% 0.1831 -0.0173)
OKLCHoklch(60.18% 0.184 354.6)
XYZxyz(32.2353, 19.2746, 24.9398)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4587 #45CF8D
analogous
#CF45CC #CF4587 #CF4845
triadic
#CF4587 #87CF45 #4587CF
tetradic
#CF4587 #CCCF45 #45CF8D #4845CF
square
#CF4587 #CCCF45 #45CF8D #4845CF
split-complementary
#CF4587 #45CF48 #45CCCF
monochromatic
#7A204B #AB2C69 #CF4587 #DC76A6 #E8A6C6

Accessibility & contrast

On white

4.33
#CF4587 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CF4587 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4587
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4587#FFFFFF#000000##000000
##CF45871.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6989
Deuteranopia (green-blind)
#838384
Tritanopia (blue-blind)
#DF3A60
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf4587;
/* rgb */ color: rgb(207, 69, 135);
/* oklch */ color: oklch(60.2% 0.184 354.6);
Tailwind
colors: {
  custom: {
    50: '#e282a9',
    500: '#cf4587',
    950: '#000000',
  },
}
SCSS
$custom: #cf4587;
$custom-light: #e282a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4587",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 331.304,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.18387,
    "h": 354.6
  },
  "luminance": 0.19271
}

Semantic roles & 50–950 ramp

primary
#CF4587
secondary
#9BD5B9
accent
#E29746
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF4587

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

Preview Lab → · Contrast checker → · Palette generator →

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