#CF4788#CF4788

#CF4788 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.4% C 0.182 H 354.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CF4788
RGBrgb(207, 71, 136)
HSLhsl(331, 59%, 55%)
HSVhsv(331, 66%, 81%)
CMYKcmyk(0%, 65.7%, 34.3%, 18.8%)
CIE-LABlab(51.33, 59.18, -6.96)
CIE-LCHlch(51.33, 59.59, 353.29°)
OKLaboklab(60.43% 0.1809 -0.0176)
OKLCHoklch(60.43% 0.182 354.4)
XYZxyz(32.4311, 19.5531, 25.3540)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4788 #47CF8E
analogous
#CF47CC #CF4788 #CF4A47
triadic
#CF4788 #88CF47 #4788CF
tetradic
#CF4788 #CCCF47 #47CF8E #4A47CF
square
#CF4788 #CCCF47 #47CF8E #4A47CF
split-complementary
#CF4788 #47CF4A #47CCCF
monochromatic
#7B204C #AC2D6A #CF4788 #DC78A7 #E8A8C7

Accessibility & contrast

On white

4.28
#CF4788 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CF4788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4788
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4788#FFFFFF#000000##000000
##CF47881.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6A8A
Deuteranopia (green-blind)
#838385
Tritanopia (blue-blind)
#DF3D62
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4788;
/* rgb */ color: rgb(207, 71, 136);
/* oklch */ color: oklch(60.4% 0.182 354.4);
Tailwind
colors: {
  custom: {
    50: '#e283aa',
    500: '#cf4788',
    950: '#000000',
  },
}
SCSS
$custom: #cf4788;
$custom-light: #e283aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4788",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 331.324,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.18172,
    "h": 354.4
  },
  "luminance": 0.19549
}

Semantic roles & 50–950 ramp

primary
#CF4788
secondary
#9CD6BA
accent
#E29746
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF4788

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

Preview Lab → · Contrast checker → · Palette generator →

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