#CF4EA1#CF4EA1

#CF4EA1 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.185 H 344.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CF4EA1
RGBrgb(207, 78, 161)
HSLhsl(321, 57%, 56%)
HSVhsv(321, 62%, 81%)
CMYKcmyk(0%, 62.3%, 22.2%, 18.8%)
CIE-LABlab(53.27, 59.45, -18.85)
CIE-LCHlch(53.27, 62.36, 342.41°)
OKLaboklab(62.15% 0.1785 -0.0501)
OKLCHoklch(62.15% 0.185 344.3)
XYZxyz(34.8906, 21.2907, 35.9833)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4EA1 #4ECF7C
analogous
#BC4ECF #CF4EA1 #CF4E60
triadic
#CF4EA1 #A1CF4E #4EA1CF
tetradic
#CF4EA1 #CFBC4E #4ECF7C #4E60CF
square
#CF4EA1 #CFBC4E #4ECF7C #4E60CF
split-complementary
#CF4EA1 #60CF4E #4ECFBC
monochromatic
#80235F #B03082 #CF4EA1 #DC7EBB #E9AED4

Accessibility & contrast

On white

3.99
#CF4EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#CF4EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4EA1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4EA1#FFFFFF#000000##000000
##CF4EA11.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#7F879E
Tritanopia (blue-blind)
#DC4D71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4ea1;
/* rgb */ color: rgb(207, 78, 161);
/* oklch */ color: oklch(62.1% 0.185 344.3);
Tailwind
colors: {
  custom: {
    50: '#e187bd',
    500: '#cf4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ea1;
$custom-light: #e187bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ea1",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 321.395,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62147,
    "c": 0.18545,
    "h": 344.3
  },
  "luminance": 0.21287
}

Semantic roles & 50–950 ramp

primary
#CF4EA1
secondary
#A2D7B5
accent
#E17E47
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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