#CF4787#CF4787

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

Color values

HEX#CF4787
RGBrgb(207, 71, 135)
HSLhsl(332, 59%, 55%)
HSVhsv(332, 66%, 81%)
CMYKcmyk(0%, 65.7%, 34.8%, 18.8%)
CIE-LABlab(51.30, 59.07, -6.41)
CIE-LCHlch(51.30, 59.42, 353.81°)
OKLaboklab(60.39% 0.1806 -0.0162)
OKLCHoklch(60.39% 0.181 354.9)
XYZxyz(32.3604, 19.5248, 24.9815)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4787 #47CF8F
analogous
#CF47CB #CF4787 #CF4B47
triadic
#CF4787 #87CF47 #4787CF
tetradic
#CF4787 #CBCF47 #47CF8F #4B47CF
square
#CF4787 #CBCF47 #47CF8F #4B47CF
split-complementary
#CF4787 #47CF4B #47CBCF
monochromatic
#7B204B #AC2D69 #CF4787 #DC78A7 #E8A8C6

Accessibility & contrast

On white

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

On black

4.90
#CF4787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4787
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4787#FFFFFF#000000##000000
##CF47871.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6A89
Deuteranopia (green-blind)
#838384
Tritanopia (blue-blind)
#DF3C61
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4787;
/* rgb */ color: rgb(207, 71, 135);
/* oklch */ color: oklch(60.4% 0.181 354.9);
Tailwind
colors: {
  custom: {
    50: '#e283a9',
    500: '#cf4787',
    950: '#000000',
  },
}
SCSS
$custom: #cf4787;
$custom-light: #e283a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4787",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 331.765,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60393,
    "c": 0.18128,
    "h": 354.9
  },
  "luminance": 0.19521
}

Semantic roles & 50–950 ramp

primary
#CF4787
secondary
#9CD6BB
accent
#E29846
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF4787

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

Preview Lab → · Contrast checker → · Palette generator →

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