#CF4478#CF4478

#CF4478 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.6% C 0.180 H 1.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CF4478
RGBrgb(207, 68, 120)
HSLhsl(338, 59%, 54%)
HSVhsv(338, 67%, 81%)
CMYKcmyk(0%, 67.1%, 42%, 18.8%)
CIE-LABlab(50.40, 58.65, 1.29)
CIE-LCHlch(50.40, 58.67, 1.26°)
OKLaboklab(59.58% 0.1795 0.004)
OKLCHoklch(59.58% 0.18 1.3)
XYZxyz(31.1916, 18.7595, 19.7440)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4478 #44CF9B
analogous
#CF44BE #CF4478 #CF5644
triadic
#CF4478 #78CF44 #4478CF
tetradic
#CF4478 #BECF44 #44CF9B #5644CF
square
#CF4478 #BECF44 #44CF9B #5644CF
split-complementary
#CF4478 #44CF56 #44BECF
monochromatic
#791F41 #AA2C5B #CF4478 #DC759B #E8A5BE

Accessibility & contrast

On white

4.42
#CF4478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CF4478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4478
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4478#FFFFFF#000000##000000
##CF44781.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#606779
Deuteranopia (green-blind)
#858275
Tritanopia (blue-blind)
#E03359
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf4478;
/* rgb */ color: rgb(207, 68, 120);
/* oklch */ color: oklch(59.6% 0.180 1.3);
Tailwind
colors: {
  custom: {
    50: '#e3819e',
    500: '#cf4478',
    950: '#000000',
  },
}
SCSS
$custom: #cf4478;
$custom-light: #e3819e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4478",
  "rgb": {
    "r": 207,
    "g": 68,
    "b": 120
  },
  "hsl": {
    "h": 337.554,
    "s": 59.149,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59584,
    "c": 0.17954,
    "h": 1.3
  },
  "luminance": 0.18756
}

Semantic roles & 50–950 ramp

primary
#CF4478
secondary
#9AD5BF
accent
#E2A845
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4478

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

Preview Lab → · Contrast checker → · Palette generator →

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