#CF4789#CF4789

#CF4789 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.5% C 0.182 H 354.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CF4789
RGBrgb(207, 71, 137)
HSLhsl(331, 59%, 55%)
HSVhsv(331, 66%, 81%)
CMYKcmyk(0%, 65.7%, 33.8%, 18.8%)
CIE-LABlab(51.36, 59.30, -7.51)
CIE-LCHlch(51.36, 59.77, 352.78°)
OKLaboklab(60.46% 0.1812 -0.0191)
OKLCHoklch(60.46% 0.182 354)
XYZxyz(32.5025, 19.5816, 25.7300)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4789 #47CF8D
analogous
#CF47CD #CF4789 #CF4947
triadic
#CF4789 #89CF47 #4789CF
tetradic
#CF4789 #CDCF47 #47CF8D #4947CF
square
#CF4789 #CDCF47 #47CF8D #4947CF
split-complementary
#CF4789 #47CF49 #47CDCF
monochromatic
#7B204C #AC2D6B #CF4789 #DC78A8 #E8A8C7

Accessibility & contrast

On white

4.27
#CF4789 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CF4789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4789
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4789#FFFFFF#000000##000000
##CF47891.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8B
Deuteranopia (green-blind)
#838486
Tritanopia (blue-blind)
#DE3D62
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf4789;
/* rgb */ color: rgb(207, 71, 137);
/* oklch */ color: oklch(60.5% 0.182 354.0);
Tailwind
colors: {
  custom: {
    50: '#e283ab',
    500: '#cf4789',
    950: '#000000',
  },
}
SCSS
$custom: #cf4789;
$custom-light: #e283ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4789",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 330.882,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60463,
    "c": 0.18215,
    "h": 354
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#CF4789
secondary
#9CD6BA
accent
#E29646
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF4789

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

Preview Lab → · Contrast checker → · Palette generator →

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