#CF4791#CF4791

#CF4791 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.8% C 0.186 H 350.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF4791
RGBrgb(207, 71, 145)
HSLhsl(327, 59%, 55%)
HSVhsv(327, 66%, 81%)
CMYKcmyk(0%, 65.7%, 30%, 18.8%)
CIE-LABlab(51.63, 60.25, -11.87)
CIE-LCHlch(51.63, 61.41, 348.85°)
OKLaboklab(60.75% 0.1834 -0.0309)
OKLCHoklch(60.75% 0.186 350.4)
XYZxyz(33.0978, 19.8197, 28.8651)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4791 #47CF85
analogous
#C947CF #CF4791 #CF474D
triadic
#CF4791 #91CF47 #4791CF
tetradic
#CF4791 #CFC947 #47CF85 #474DCF
square
#CF4791 #CFC947 #47CF85 #474DCF
split-complementary
#CF4791 #4DCF47 #47CFC9
monochromatic
#7B2052 #AC2D72 #CF4791 #DC78AE #E8A8CB

Accessibility & contrast

On white

4.23
#CF4791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CF4791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4791
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4791#FFFFFF#000000##000000
##CF47911.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6C93
Deuteranopia (green-blind)
#81848E
Tritanopia (blue-blind)
#DE4066
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4791;
/* rgb */ color: rgb(207, 71, 145);
/* oklch */ color: oklch(60.8% 0.186 350.4);
Tailwind
colors: {
  custom: {
    50: '#e283b1',
    500: '#cf4791',
    950: '#000000',
  },
}
SCSS
$custom: #cf4791;
$custom-light: #e283b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4791",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 327.353,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60752,
    "c": 0.18599,
    "h": 350.4
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#CF4791
secondary
#9CD6B6
accent
#E28D46
background
#FEF8FA
surface
#FDF0F5
border
#D5CBCF
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF4791

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

Preview Lab → · Contrast checker → · Palette generator →

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