#CF4E97#CF4E97

#CF4E97 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.180 H 348.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CF4E97
RGBrgb(207, 78, 151)
HSLhsl(326, 57%, 56%)
HSVhsv(326, 62%, 81%)
CMYKcmyk(0%, 62.3%, 27.1%, 18.8%)
CIE-LABlab(52.90, 58.12, -13.52)
CIE-LCHlch(52.90, 59.67, 346.90°)
OKLaboklab(61.75% 0.1761 -0.0354)
OKLCHoklch(61.75% 0.18 348.6)
XYZxyz(34.0438, 20.9520, 31.5234)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E97 #4ECF86
analogous
#C74ECF #CF4E97 #CF4E56
triadic
#CF4E97 #97CF4E #4E97CF
tetradic
#CF4E97 #CFC74E #4ECF86 #4E56CF
square
#CF4E97 #CFC74E #4ECF86 #4E56CF
split-complementary
#CF4E97 #56CF4E #4ECFC7
monochromatic
#802357 #B03078 #CF4E97 #DC7EB3 #E9AED0

Accessibility & contrast

On white

4.05
#CF4E97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CF4E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E97
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E97#FFFFFF#000000##000000
##CF4E971.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7099
Deuteranopia (green-blind)
#828794
Tritanopia (blue-blind)
#DD4A6C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4e97;
/* rgb */ color: rgb(207, 78, 151);
/* oklch */ color: oklch(61.8% 0.180 348.6);
Tailwind
colors: {
  custom: {
    50: '#e187b5',
    500: '#cf4e97',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e97;
$custom-light: #e187b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e97",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 326.047,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61754,
    "c": 0.17961,
    "h": 348.6
  },
  "luminance": 0.20949
}

Semantic roles & 50–950 ramp

primary
#CF4E97
secondary
#A2D7B9
accent
#E18A47
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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