#CF4977#CF4977

#CF4977 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.1% C 0.173 H 2.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CF4977
RGBrgb(207, 73, 119)
HSLhsl(339, 58%, 55%)
HSVhsv(339, 65%, 81%)
CMYKcmyk(0%, 64.7%, 42.5%, 18.8%)
CIE-LABlab(51.11, 56.54, 2.92)
CIE-LCHlch(51.11, 56.61, 2.95°)
OKLaboklab(60.1% 0.1728 0.0082)
OKLCHoklch(60.1% 0.173 2.7)
XYZxyz(31.4467, 19.3662, 19.5312)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4977 #49CFA1
analogous
#CF49BA #CF4977 #CF5E49
triadic
#CF4977 #77CF49 #4977CF
tetradic
#CF4977 #BACF49 #49CFA1 #5E49CF
square
#CF4977 #BACF49 #49CFA1 #5E49CF
split-complementary
#CF4977 #49CF5E #49BACF
monochromatic
#7D2140 #AD2E59 #CF4977 #DC799B #E9AABF

Accessibility & contrast

On white

4.31
#CF4977 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CF4977 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4977
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4977#FFFFFF#000000##000000
##CF49771.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#646978
Deuteranopia (green-blind)
#888374
Tritanopia (blue-blind)
#E0395B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4977;
/* rgb */ color: rgb(207, 73, 119);
/* oklch */ color: oklch(60.1% 0.173 2.7);
Tailwind
colors: {
  custom: {
    50: '#e3839e',
    500: '#cf4977',
    950: '#000000',
  },
}
SCSS
$custom: #cf4977;
$custom-light: #e3839e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4977",
  "rgb": {
    "r": 207,
    "g": 73,
    "b": 119
  },
  "hsl": {
    "h": 339.403,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.601,
    "c": 0.17295,
    "h": 2.7
  },
  "luminance": 0.19362
}

Semantic roles & 50–950 ramp

primary
#CF4977
secondary
#9ED6C3
accent
#E1AC46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4977

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

Preview Lab → · Contrast checker → · Palette generator →

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