#CF4A79#CF4A79

#CF4A79 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.3% C 0.172 H 2.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CF4A79
RGBrgb(207, 74, 121)
HSLhsl(339, 58%, 55%)
HSVhsv(339, 64%, 81%)
CMYKcmyk(0%, 64.3%, 41.5%, 18.8%)
CIE-LABlab(51.32, 56.33, 2.02)
CIE-LCHlch(51.32, 56.36, 2.05°)
OKLaboklab(60.27% 0.1721 0.0059)
OKLCHoklch(60.27% 0.172 2)
XYZxyz(31.6343, 19.5472, 20.1925)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A79 #4ACFA0
analogous
#CF4ABC #CF4A79 #CF5D4A
triadic
#CF4A79 #79CF4A #4A79CF
tetradic
#CF4A79 #BCCF4A #4ACFA0 #5D4ACF
square
#CF4A79 #BCCF4A #4ACFA0 #5D4ACF
split-complementary
#CF4A79 #4ACF5D #4ABCCF
monochromatic
#7D2142 #AE2E5B #CF4A79 #DC7A9D #E9ABC1

Accessibility & contrast

On white

4.28
#CF4A79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CF4A79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A79
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A79#FFFFFF#000000##000000
##CF4A791.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A7A
Deuteranopia (green-blind)
#888476
Tritanopia (blue-blind)
#E03B5D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4a79;
/* rgb */ color: rgb(207, 74, 121);
/* oklch */ color: oklch(60.3% 0.172 2.0);
Tailwind
colors: {
  custom: {
    50: '#e2849f',
    500: '#cf4a79',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a79;
$custom-light: #e2849f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a79",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 121
  },
  "hsl": {
    "h": 338.797,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60273,
    "c": 0.17224,
    "h": 2
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#CF4A79
secondary
#9FD6C3
accent
#E1AB46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4A79

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

Preview Lab → · Contrast checker → · Palette generator →

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