#CF4979#CF4979

#CF4979 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.2% C 0.174 H 1.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CF4979
RGBrgb(207, 73, 121)
HSLhsl(339, 58%, 55%)
HSVhsv(339, 65%, 81%)
CMYKcmyk(0%, 64.7%, 41.5%, 18.8%)
CIE-LABlab(51.17, 56.74, 1.80)
CIE-LCHlch(51.17, 56.77, 1.81°)
OKLaboklab(60.16% 0.1735 0.0053)
OKLCHoklch(60.16% 0.174 1.8)
XYZxyz(31.5680, 19.4147, 20.1705)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4979 #49CF9F
analogous
#CF49BC #CF4979 #CF5C49
triadic
#CF4979 #79CF49 #4979CF
tetradic
#CF4979 #BCCF49 #49CF9F #5C49CF
square
#CF4979 #BCCF49 #49CF9F #5C49CF
split-complementary
#CF4979 #49CF5C #49BCCF
monochromatic
#7D2142 #AD2E5B #CF4979 #DC799D #E9AAC0

Accessibility & contrast

On white

4.30
#CF4979 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CF4979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4979
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4979#FFFFFF#000000##000000
##CF49791.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7A
Deuteranopia (green-blind)
#878376
Tritanopia (blue-blind)
#E0395C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4979;
/* rgb */ color: rgb(207, 73, 121);
/* oklch */ color: oklch(60.2% 0.174 1.8);
Tailwind
colors: {
  custom: {
    50: '#e2839f',
    500: '#cf4979',
    950: '#000000',
  },
}
SCSS
$custom: #cf4979;
$custom-light: #e2839f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4979",
  "rgb": {
    "r": 207,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 338.507,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6016,
    "c": 0.17353,
    "h": 1.8
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#CF4979
secondary
#9ED6C2
accent
#E1AA46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4979

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

Preview Lab → · Contrast checker → · Palette generator →

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