#CF4D7F#CF4D7F

#CF4D7F is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.170 H 359.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CF4D7F
RGBrgb(207, 77, 127)
HSLhsl(337, 58%, 56%)
HSVhsv(337, 63%, 81%)
CMYKcmyk(0%, 62.8%, 38.6%, 18.8%)
CIE-LABlab(51.96, 55.69, -0.65)
CIE-LCHlch(51.96, 55.70, 359.34°)
OKLaboklab(60.81% 0.1702 -0.001)
OKLCHoklch(60.81% 0.17 359.7)
XYZxyz(32.2188, 20.1091, 22.2593)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D7F #4DCF9D
analogous
#CF4DC0 #CF4D7F #CF5C4D
triadic
#CF4D7F #7FCF4D #4D7FCF
tetradic
#CF4D7F #C0CF4D #4DCF9D #5C4DCF
square
#CF4D7F #C0CF4D #4DCF9D #5C4DCF
split-complementary
#CF4D7F #4DCF5C #4DC0CF
monochromatic
#7F2246 #AF2F61 #CF4D7F #DC7DA2 #E9ADC4

Accessibility & contrast

On white

4.18
#CF4D7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CF4D7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D7F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D7F#FFFFFF#000000##000000
##CF4D7F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C80
Deuteranopia (green-blind)
#88857C
Tritanopia (blue-blind)
#DF4061
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4d7f;
/* rgb */ color: rgb(207, 77, 127);
/* oklch */ color: oklch(60.8% 0.170 359.7);
Tailwind
colors: {
  custom: {
    50: '#e286a4',
    500: '#cf4d7f',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d7f;
$custom-light: #e286a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d7f",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 127
  },
  "hsl": {
    "h": 336.923,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60805,
    "c": 0.17019,
    "h": 359.7
  },
  "luminance": 0.20105
}

Semantic roles & 50–950 ramp

primary
#CF4D7F
secondary
#A1D7C2
accent
#E1A647
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF4D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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