#CF4C9E#CF4C9E

#CF4C9E is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.186 H 345.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CF4C9E
RGBrgb(207, 76, 158)
HSLhsl(322, 58%, 55%)
HSVhsv(322, 63%, 81%)
CMYKcmyk(0%, 63.3%, 23.7%, 18.8%)
CIE-LABlab(52.85, 59.88, -17.73)
CIE-LCHlch(52.85, 62.45, 343.51°)
OKLaboklab(61.8% 0.1804 -0.047)
OKLCHoklch(61.8% 0.186 345.4)
XYZxyz(34.4893, 20.9063, 34.5600)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C9E #4CCF7D
analogous
#BF4CCF #CF4C9E #CF4C5C
triadic
#CF4C9E #9ECF4C #4C9ECF
tetradic
#CF4C9E #CFBF4C #4CCF7D #4C5CCF
square
#CF4C9E #CFBF4C #4CCF7D #4C5CCF
split-complementary
#CF4C9E #5CCF4C #4CCFBF
monochromatic
#7F225C #AF2F7F #CF4C9E #DC7CB8 #E9ADD2

Accessibility & contrast

On white

4.05
#CF4C9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CF4C9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C9E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C9E#FFFFFF#000000##000000
##CF4C9E1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5970A0
Deuteranopia (green-blind)
#7F869B
Tritanopia (blue-blind)
#DC4A6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4c9e;
/* rgb */ color: rgb(207, 76, 158);
/* oklch */ color: oklch(61.8% 0.186 345.4);
Tailwind
colors: {
  custom: {
    50: '#e186ba',
    500: '#cf4c9e',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c9e;
$custom-light: #e186ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c9e",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 158
  },
  "hsl": {
    "h": 322.443,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61801,
    "c": 0.18642,
    "h": 345.4
  },
  "luminance": 0.20903
}

Semantic roles & 50–950 ramp

primary
#CF4C9E
secondary
#A0D7B5
accent
#E18047
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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