#CF4C87#CF4C87

#CF4C87 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.0% C 0.175 H 355.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CF4C87
RGBrgb(207, 76, 135)
HSLhsl(333, 58%, 55%)
HSVhsv(333, 63%, 81%)
CMYKcmyk(0%, 63.3%, 34.8%, 18.8%)
CIE-LABlab(52.05, 57.01, -5.29)
CIE-LCHlch(52.05, 57.26, 354.70°)
OKLaboklab(60.95% 0.1741 -0.0132)
OKLCHoklch(60.95% 0.175 355.7)
XYZxyz(32.6916, 20.1871, 25.0919)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C87 #4CCF94
analogous
#CF4CC8 #CF4C87 #CF524C
triadic
#CF4C87 #87CF4C #4C87CF
tetradic
#CF4C87 #C8CF4C #4CCF94 #524CCF
square
#CF4C87 #C8CF4C #4CCF94 #524CCF
split-complementary
#CF4C87 #4CCF52 #4CC8CF
monochromatic
#7F224C #AF2F69 #CF4C87 #DC7CA7 #E9ADC8

Accessibility & contrast

On white

4.17
#CF4C87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CF4C87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C87
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C87#FFFFFF#000000##000000
##CF4C871.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#626D89
Deuteranopia (green-blind)
#858584
Tritanopia (blue-blind)
#DF4264
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4c87;
/* rgb */ color: rgb(207, 76, 135);
/* oklch */ color: oklch(61.0% 0.175 355.7);
Tailwind
colors: {
  custom: {
    50: '#e285a9',
    500: '#cf4c87',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c87;
$custom-light: #e285a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c87",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 332.977,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6095,
    "c": 0.17461,
    "h": 355.7
  },
  "luminance": 0.20184
}

Semantic roles & 50–950 ramp

primary
#CF4C87
secondary
#A0D7BE
accent
#E19C47
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4C87

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

Preview Lab → · Contrast checker → · Palette generator →

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