#CF4879#CF4879

#CF4879 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.0% C 0.175 H 1.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CF4879
RGBrgb(207, 72, 121)
HSLhsl(338, 58%, 55%)
HSVhsv(338, 65%, 81%)
CMYKcmyk(0%, 65.2%, 41.5%, 18.8%)
CIE-LABlab(51.02, 57.15, 1.58)
CIE-LCHlch(51.02, 57.17, 1.58°)
OKLaboklab(60.05% 0.1748 0.0048)
OKLCHoklch(60.05% 0.175 1.6)
XYZxyz(31.5029, 19.2844, 20.1487)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4879 #48CF9E
analogous
#CF48BD #CF4879 #CF5A48
triadic
#CF4879 #79CF48 #4879CF
tetradic
#CF4879 #BDCF48 #48CF9E #5A48CF
square
#CF4879 #BDCF48 #48CF9E #5A48CF
split-complementary
#CF4879 #48CF5A #48BDCF
monochromatic
#7C2142 #AD2D5B #CF4879 #DC789D #E8A9C0

Accessibility & contrast

On white

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

On black

4.86
#CF4879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4879
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4879#FFFFFF#000000##000000
##CF48791.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#63697A
Deuteranopia (green-blind)
#878376
Tritanopia (blue-blind)
#E0385C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf4879;
/* rgb */ color: rgb(207, 72, 121);
/* oklch */ color: oklch(60.0% 0.175 1.6);
Tailwind
colors: {
  custom: {
    50: '#e2839f',
    500: '#cf4879',
    950: '#000000',
  },
}
SCSS
$custom: #cf4879;
$custom-light: #e2839f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4879",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 338.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.17481,
    "h": 1.6
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#CF4879
secondary
#9DD6C1
accent
#E2A946
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4879

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

Preview Lab → · Contrast checker → · Palette generator →

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