#CF4F97#CF4F97

#CF4F97 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.178 H 348.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CF4F97
RGBrgb(207, 79, 151)
HSLhsl(326, 57%, 56%)
HSVhsv(326, 62%, 81%)
CMYKcmyk(0%, 61.8%, 27.1%, 18.8%)
CIE-LABlab(53.05, 57.69, -13.28)
CIE-LCHlch(53.05, 59.20, 347.03°)
OKLaboklab(61.87% 0.1748 -0.0348)
OKLCHoklch(61.87% 0.178 348.7)
XYZxyz(34.1154, 21.0951, 31.5472)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F97 #4FCF87
analogous
#C74FCF #CF4F97 #CF4F57
triadic
#CF4F97 #97CF4F #4F97CF
tetradic
#CF4F97 #CFC74F #4FCF87 #4F57CF
square
#CF4F97 #CFC74F #4FCF87 #4F57CF
split-complementary
#CF4F97 #57CF4F #4FCFC7
monochromatic
#812358 #B13078 #CF4F97 #DC7FB3 #E9AFD0

Accessibility & contrast

On white

4.02
#CF4F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CF4F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F97
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F97#FFFFFF#000000##000000
##CF4F971.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7199
Deuteranopia (green-blind)
#838794
Tritanopia (blue-blind)
#DD4B6C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4f97;
/* rgb */ color: rgb(207, 79, 151);
/* oklch */ color: oklch(61.9% 0.178 348.7);
Tailwind
colors: {
  custom: {
    50: '#e187b5',
    500: '#cf4f97',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f97;
$custom-light: #e187b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f97",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 326.25,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6187,
    "c": 0.1782,
    "h": 348.7
  },
  "luminance": 0.21092
}

Semantic roles & 50–950 ramp

primary
#CF4F97
secondary
#A2D7BA
accent
#E08A47
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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