#CF4989#CF4989

#CF4989 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.7% C 0.180 H 354.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CF4989
RGBrgb(207, 73, 137)
HSLhsl(331, 58%, 55%)
HSVhsv(331, 65%, 81%)
CMYKcmyk(0%, 64.7%, 33.8%, 18.8%)
CIE-LABlab(51.66, 58.49, -7.07)
CIE-LCHlch(51.66, 58.91, 353.11°)
OKLaboklab(60.68% 0.1786 -0.0179)
OKLCHoklch(60.68% 0.18 354.3)
XYZxyz(32.6318, 19.8402, 25.7731)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4989 #49CF8F
analogous
#CF49CC #CF4989 #CF4C49
triadic
#CF4989 #89CF49 #4989CF
tetradic
#CF4989 #CCCF49 #49CF8F #4C49CF
square
#CF4989 #CCCF49 #49CF8F #4C49CF
split-complementary
#CF4989 #49CF4C #49CCCF
monochromatic
#7D214D #AD2E6B #CF4989 #DC79A8 #E9AAC8

Accessibility & contrast

On white

4.23
#CF4989 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CF4989 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4989
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4989#FFFFFF#000000##000000
##CF49891.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8B
Deuteranopia (green-blind)
#848486
Tritanopia (blue-blind)
#DE3F63
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf4989;
/* rgb */ color: rgb(207, 73, 137);
/* oklch */ color: oklch(60.7% 0.180 354.3);
Tailwind
colors: {
  custom: {
    50: '#e284ab',
    500: '#cf4989',
    950: '#000000',
  },
}
SCSS
$custom: #cf4989;
$custom-light: #e284ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4989",
  "rgb": {
    "r": 207,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 331.343,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60681,
    "c": 0.17952,
    "h": 354.3
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#CF4989
secondary
#9ED6BB
accent
#E19746
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF4989

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

Preview Lab → · Contrast checker → · Palette generator →

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