#CF4D97#CF4D97

#CF4D97 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.181 H 348.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CF4D97
RGBrgb(207, 77, 151)
HSLhsl(326, 58%, 56%)
HSVhsv(326, 63%, 81%)
CMYKcmyk(0%, 62.8%, 27.1%, 18.8%)
CIE-LABlab(52.74, 58.54, -13.76)
CIE-LCHlch(52.74, 60.14, 346.78°)
OKLaboklab(61.64% 0.1774 -0.0361)
OKLCHoklch(61.64% 0.181 348.5)
XYZxyz(33.9733, 20.8109, 31.4999)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D97 #4DCF85
analogous
#C64DCF #CF4D97 #CF4D56
triadic
#CF4D97 #97CF4D #4D97CF
tetradic
#CF4D97 #CFC64D #4DCF85 #4D56CF
square
#CF4D97 #CFC64D #4DCF85 #4D56CF
split-complementary
#CF4D97 #56CF4D #4DCFC6
monochromatic
#7F2257 #AF2F78 #CF4D97 #DC7DB3 #E9ADCF

Accessibility & contrast

On white

4.07
#CF4D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CF4D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D97
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D97#FFFFFF#000000##000000
##CF4D971.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7099
Deuteranopia (green-blind)
#828694
Tritanopia (blue-blind)
#DD496B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4d97;
/* rgb */ color: rgb(207, 77, 151);
/* oklch */ color: oklch(61.6% 0.181 348.5);
Tailwind
colors: {
  custom: {
    50: '#e186b5',
    500: '#cf4d97',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d97;
$custom-light: #e186b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d97",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 325.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6164,
    "c": 0.18101,
    "h": 348.5
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

primary
#CF4D97
secondary
#A1D7B8
accent
#E18947
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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