#CF4877#CF4877

#CF4877 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.174 H 2.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CF4877
RGBrgb(207, 72, 119)
HSLhsl(339, 58%, 55%)
HSVhsv(339, 65%, 81%)
CMYKcmyk(0%, 65.2%, 42.5%, 18.8%)
CIE-LABlab(50.96, 56.95, 2.70)
CIE-LCHlch(50.96, 57.01, 2.71°)
OKLaboklab(59.99% 0.1741 0.0076)
OKLCHoklch(59.99% 0.174 2.5)
XYZxyz(31.3815, 19.2358, 19.5095)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4877 #48CFA0
analogous
#CF48BB #CF4877 #CF5C48
triadic
#CF4877 #77CF48 #4877CF
tetradic
#CF4877 #BBCF48 #48CFA0 #5C48CF
square
#CF4877 #BBCF48 #48CFA0 #5C48CF
split-complementary
#CF4877 #48CF5C #48BBCF
monochromatic
#7C2140 #AD2D5A #CF4877 #DC789B #E8A9BF

Accessibility & contrast

On white

4.33
#CF4877 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CF4877 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4877
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4877#FFFFFF#000000##000000
##CF48771.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#636978
Deuteranopia (green-blind)
#878374
Tritanopia (blue-blind)
#E0375B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf4877;
/* rgb */ color: rgb(207, 72, 119);
/* oklch */ color: oklch(60.0% 0.174 2.5);
Tailwind
colors: {
  custom: {
    50: '#e3839e',
    500: '#cf4877',
    950: '#000000',
  },
}
SCSS
$custom: #cf4877;
$custom-light: #e3839e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4877",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 339.111,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59988,
    "c": 0.17423,
    "h": 2.5
  },
  "luminance": 0.19232
}

Semantic roles & 50–950 ramp

primary
#CF4877
secondary
#9DD6C2
accent
#E2AC46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4877

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

Preview Lab → · Contrast checker → · Palette generator →

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