#CF4F99#CF4F99

#CF4F99 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.9% C 0.179 H 347.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CF4F99
RGBrgb(207, 79, 153)
HSLhsl(325, 57%, 56%)
HSVhsv(325, 62%, 81%)
CMYKcmyk(0%, 61.8%, 26.1%, 18.8%)
CIE-LABlab(53.12, 57.95, -14.36)
CIE-LCHlch(53.12, 59.70, 346.09°)
OKLaboklab(61.95% 0.1753 -0.0377)
OKLCHoklch(61.95% 0.179 347.9)
XYZxyz(34.2792, 21.1606, 32.4099)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F99 #4FCF85
analogous
#C54FCF #CF4F99 #CF4F59
triadic
#CF4F99 #99CF4F #4F99CF
tetradic
#CF4F99 #CFC54F #4FCF85 #4F59CF
square
#CF4F99 #CFC54F #4FCF85 #4F59CF
split-complementary
#CF4F99 #59CF4F #4FCFC5
monochromatic
#812359 #B1307A #CF4F99 #DC7FB5 #E9AFD1

Accessibility & contrast

On white

4.01
#CF4F99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CF4F99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F99
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F99#FFFFFF#000000##000000
##CF4F991.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E719B
Deuteranopia (green-blind)
#828796
Tritanopia (blue-blind)
#DD4B6D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4f99;
/* rgb */ color: rgb(207, 79, 153);
/* oklch */ color: oklch(61.9% 0.179 347.9);
Tailwind
colors: {
  custom: {
    50: '#e187b7',
    500: '#cf4f99',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f99;
$custom-light: #e187b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f99",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 325.313,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.1793,
    "h": 347.9
  },
  "luminance": 0.21157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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