#CF4F79#CF4F79

#CF4F79 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.166 H 3.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CF4F79
RGBrgb(207, 79, 121)
HSLhsl(340, 57%, 56%)
HSVhsv(340, 62%, 81%)
CMYKcmyk(0%, 61.8%, 41.5%, 18.8%)
CIE-LABlab(52.11, 54.19, 3.16)
CIE-LCHlch(52.11, 54.29, 3.34°)
OKLaboklab(60.86% 0.1654 0.0088)
OKLCHoklch(60.86% 0.166 3)
XYZxyz(31.9814, 20.2415, 20.3083)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F79 #4FCFA5
analogous
#CF4FB9 #CF4F79 #CF654F
triadic
#CF4F79 #79CF4F #4F79CF
tetradic
#CF4F79 #B9CF4F #4FCFA5 #654FCF
square
#CF4F79 #B9CF4F #4FCFA5 #654FCF
split-complementary
#CF4F79 #4FCF65 #4FB9CF
monochromatic
#812342 #B1305A #CF4F79 #DC7F9E #E9AFC2

Accessibility & contrast

On white

4.16
#CF4F79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CF4F79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F79
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F79#FFFFFF#000000##000000
##CF4F791.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#686D7A
Deuteranopia (green-blind)
#8A8576
Tritanopia (blue-blind)
#E0415F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4f79;
/* rgb */ color: rgb(207, 79, 121);
/* oklch */ color: oklch(60.9% 0.166 3.0);
Tailwind
colors: {
  custom: {
    50: '#e2879f',
    500: '#cf4f79',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f79;
$custom-light: #e2879f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f79",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 340.313,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60859,
    "c": 0.16563,
    "h": 3
  },
  "luminance": 0.20238
}

Semantic roles & 50–950 ramp

primary
#CF4F79
secondary
#A2D7C6
accent
#E0AE47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF4F79

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

Preview Lab → · Contrast checker → · Palette generator →

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