#CF4F96#CF4F96

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

Color values

HEX#CF4F96
RGBrgb(207, 79, 150)
HSLhsl(327, 57%, 56%)
HSVhsv(327, 62%, 81%)
CMYKcmyk(0%, 61.8%, 27.5%, 18.8%)
CIE-LABlab(53.02, 57.56, -12.75)
CIE-LCHlch(53.02, 58.96, 347.51°)
OKLaboklab(61.83% 0.1745 -0.0333)
OKLCHoklch(61.83% 0.178 349.2)
XYZxyz(34.0346, 21.0628, 31.1214)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F96 #4FCF88
analogous
#C84FCF #CF4F96 #CF4F56
triadic
#CF4F96 #96CF4F #4F96CF
tetradic
#CF4F96 #CFC84F #4FCF88 #4F56CF
square
#CF4F96 #CFC84F #4FCF88 #4F56CF
split-complementary
#CF4F96 #56CF4F #4FCFC8
monochromatic
#812357 #B13077 #CF4F96 #DC7FB3 #E9AFCF

Accessibility & contrast

On white

4.03
#CF4F96 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CF4F96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F96
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F96#FFFFFF#000000##000000
##CF4F961.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7098
Deuteranopia (green-blind)
#838793
Tritanopia (blue-blind)
#DD4A6C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4f96;
/* rgb */ color: rgb(207, 79, 150);
/* oklch */ color: oklch(61.8% 0.178 349.2);
Tailwind
colors: {
  custom: {
    50: '#e187b5',
    500: '#cf4f96',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f96;
$custom-light: #e187b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f96",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 326.719,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.17765,
    "h": 349.2
  },
  "luminance": 0.21059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4F96

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

Preview Lab → · Contrast checker → · Palette generator →

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