#CF4786#CF4786

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

Color values

HEX#CF4786
RGBrgb(207, 71, 134)
HSLhsl(332, 59%, 55%)
HSVhsv(332, 66%, 81%)
CMYKcmyk(0%, 65.7%, 35.3%, 18.8%)
CIE-LABlab(51.26, 58.96, -5.86)
CIE-LCHlch(51.26, 59.25, 354.32°)
OKLaboklab(60.36% 0.1803 -0.0147)
OKLCHoklch(60.36% 0.181 355.3)
XYZxyz(32.2903, 19.4968, 24.6124)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4786 #47CF90
analogous
#CF47CA #CF4786 #CF4C47
triadic
#CF4786 #86CF47 #4786CF
tetradic
#CF4786 #CACF47 #47CF90 #4C47CF
square
#CF4786 #CACF47 #47CF90 #4C47CF
split-complementary
#CF4786 #47CF4C #47CACF
monochromatic
#7B204A #AC2D68 #CF4786 #DC78A6 #E8A8C6

Accessibility & contrast

On white

4.29
#CF4786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4786#FFFFFF#000000##000000
##CF47861.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf4786;
/* rgb */ color: rgb(207, 71, 134);
/* oklch */ color: oklch(60.4% 0.181 355.3);
Tailwind
colors: {
  custom: {
    50: '#e283a9',
    500: '#cf4786',
    950: '#000000',
  },
}
SCSS
$custom: #cf4786;
$custom-light: #e283a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4786",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 332.206,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60359,
    "c": 0.18085,
    "h": 355.3
  },
  "luminance": 0.19493
}

Semantic roles & 50–950 ramp

primary
#CF4786
secondary
#9CD6BB
accent
#E29A46
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF4786

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

Preview Lab → · Contrast checker → · Palette generator →

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