#CF4780#CF4780

#CF4780 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.2% C 0.178 H 358.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CF4780
RGBrgb(207, 71, 128)
HSLhsl(335, 59%, 55%)
HSVhsv(335, 66%, 81%)
CMYKcmyk(0%, 65.7%, 38.2%, 18.8%)
CIE-LABlab(51.08, 58.29, -2.54)
CIE-LCHlch(51.08, 58.35, 357.50°)
OKLaboklab(60.16% 0.1784 -0.0059)
OKLCHoklch(60.16% 0.178 358.1)
XYZxyz(31.8837, 19.3341, 22.4707)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4780 #47CF96
analogous
#CF47C4 #CF4780 #CF5247
triadic
#CF4780 #80CF47 #4780CF
tetradic
#CF4780 #C4CF47 #47CF96 #5247CF
square
#CF4780 #C4CF47 #47CF96 #5247CF
split-complementary
#CF4780 #47CF52 #47C4CF
monochromatic
#7B2046 #AC2D62 #CF4780 #DC78A2 #E8A8C3

Accessibility & contrast

On white

4.32
#CF4780 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CF4780 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4780
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4780#FFFFFF#000000##000000
##CF47801.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#606982
Deuteranopia (green-blind)
#85837D
Tritanopia (blue-blind)
#DF395E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4780;
/* rgb */ color: rgb(207, 71, 128);
/* oklch */ color: oklch(60.2% 0.178 358.1);
Tailwind
colors: {
  custom: {
    50: '#e283a4',
    500: '#cf4780',
    950: '#000000',
  },
}
SCSS
$custom: #cf4780;
$custom-light: #e283a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4780",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 128
  },
  "hsl": {
    "h": 334.853,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.17847,
    "h": 358.1
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#CF4780
secondary
#9CD6BE
accent
#E2A146
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF4780

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

Preview Lab → · Contrast checker → · Palette generator →

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