#CF4C8E#CF4C8E

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

Color values

HEX#CF4C8E
RGBrgb(207, 76, 142)
HSLhsl(330, 58%, 55%)
HSVhsv(330, 63%, 81%)
CMYKcmyk(0%, 63.3%, 31.4%, 18.8%)
CIE-LABlab(52.28, 57.84, -9.12)
CIE-LCHlch(52.28, 58.55, 351.04°)
OKLaboklab(61.19% 0.1762 -0.0235)
OKLCHoklch(61.19% 0.178 352.4)
XYZxyz(33.2007, 20.3908, 27.7733)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C8E #4CCF8D
analogous
#CE4CCF #CF4C8E #CF4C4C
triadic
#CF4C8E #8ECF4C #4C8ECF
tetradic
#CF4C8E #CFCE4C #4CCF8D #4C4CCF
square
#CF4C8E #CFCE4C #4CCF8D #4C4CCF
split-complementary
#CF4C8E #4CCF4C #4CCFCE
monochromatic
#7F2251 #AF2F6F #CF4C8E #DC7CAC #E9ADCB

Accessibility & contrast

On white

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

On black

5.08
#CF4C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C8E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C8E#FFFFFF#000000##000000
##CF4C8E1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E90
Deuteranopia (green-blind)
#84858B
Tritanopia (blue-blind)
#DE4467
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4c8e;
/* rgb */ color: rgb(207, 76, 142);
/* oklch */ color: oklch(61.2% 0.178 352.4);
Tailwind
colors: {
  custom: {
    50: '#e285af',
    500: '#cf4c8e',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c8e;
$custom-light: #e285af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c8e",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 329.771,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61193,
    "c": 0.17776,
    "h": 352.4
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#CF4C8E
secondary
#A0D7BB
accent
#E19347
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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