#CF4C81#CF4C81

#CF4C81 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.172 H 358.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CF4C81
RGBrgb(207, 76, 129)
HSLhsl(336, 58%, 55%)
HSVhsv(336, 63%, 81%)
CMYKcmyk(0%, 63.3%, 37.7%, 18.8%)
CIE-LABlab(51.86, 56.34, -1.98)
CIE-LCHlch(51.86, 56.37, 357.98°)
OKLaboklab(60.75% 0.1722 -0.0045)
OKLCHoklch(60.75% 0.172 358.5)
XYZxyz(32.2810, 20.0229, 22.9294)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C81 #4CCF9A
analogous
#CF4CC2 #CF4C81 #CF584C
triadic
#CF4C81 #81CF4C #4C81CF
tetradic
#CF4C81 #C2CF4C #4CCF9A #584CCF
square
#CF4C81 #C2CF4C #4CCF9A #584CCF
split-complementary
#CF4C81 #4CCF58 #4CC2CF
monochromatic
#7F2247 #AF2F63 #CF4C81 #DC7CA3 #E9ADC5

Accessibility & contrast

On white

4.20
#CF4C81 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CF4C81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C81
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C81#FFFFFF#000000##000000
##CF4C811.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C82
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#DF4061
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4c81;
/* rgb */ color: rgb(207, 76, 129);
/* oklch */ color: oklch(60.8% 0.172 358.5);
Tailwind
colors: {
  custom: {
    50: '#e285a5',
    500: '#cf4c81',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c81;
$custom-light: #e285a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c81",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 129
  },
  "hsl": {
    "h": 335.725,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60752,
    "c": 0.17225,
    "h": 358.5
  },
  "luminance": 0.20019
}

Semantic roles & 50–950 ramp

primary
#CF4C81
secondary
#A0D7C1
accent
#E1A347
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF4C81

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

Preview Lab → · Contrast checker → · Palette generator →

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