#CF4C8D#CF4C8D

#CF4C8D is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.177 H 352.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CF4C8D
RGBrgb(207, 76, 141)
HSLhsl(330, 58%, 55%)
HSVhsv(330, 63%, 81%)
CMYKcmyk(0%, 63.3%, 31.9%, 18.8%)
CIE-LABlab(52.24, 57.72, -8.58)
CIE-LCHlch(52.24, 58.35, 351.55°)
OKLaboklab(61.16% 0.1759 -0.022)
OKLCHoklch(61.16% 0.177 352.9)
XYZxyz(33.1260, 20.3609, 27.3797)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C8D #4CCF8E
analogous
#CF4CCE #CF4C8D #CF4C4C
triadic
#CF4C8D #8DCF4C #4C8DCF
tetradic
#CF4C8D #CECF4C #4CCF8E #4C4CCF
square
#CF4C8D #CECF4C #4CCF8E #4C4CCF
split-complementary
#CF4C8D #4CCF4C #4CCECF
monochromatic
#7F2250 #AF2F6E #CF4C8D #DC7CAC #E9ADCA

Accessibility & contrast

On white

4.14
#CF4C8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CF4C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C8D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C8D#FFFFFF#000000##000000
##CF4C8D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#606E8F
Deuteranopia (green-blind)
#84858A
Tritanopia (blue-blind)
#DE4466
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4c8d;
/* rgb */ color: rgb(207, 76, 141);
/* oklch */ color: oklch(61.2% 0.177 352.9);
Tailwind
colors: {
  custom: {
    50: '#e285ae',
    500: '#cf4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c8d;
$custom-light: #e285ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c8d",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 330.229,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61158,
    "c": 0.17729,
    "h": 352.9
  },
  "luminance": 0.20357
}

Semantic roles & 50–950 ramp

primary
#CF4C8D
secondary
#A0D7BC
accent
#E19447
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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