#CF4EA2#CF4EA2

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

Color values

HEX#CF4EA2
RGBrgb(207, 78, 162)
HSLhsl(321, 57%, 56%)
HSVhsv(321, 62%, 81%)
CMYKcmyk(0%, 62.3%, 21.7%, 18.8%)
CIE-LABlab(53.30, 59.58, -19.38)
CIE-LCHlch(53.30, 62.66, 341.98°)
OKLaboklab(62.19% 0.1788 -0.0516)
OKLCHoklch(62.19% 0.186 343.9)
XYZxyz(34.9792, 21.3261, 36.4496)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4EA2 #4ECF7B
analogous
#BB4ECF #CF4EA2 #CF4E61
triadic
#CF4EA2 #A2CF4E #4EA2CF
tetradic
#CF4EA2 #CFBB4E #4ECF7B #4E61CF
square
#CF4EA2 #CFBB4E #4ECF7B #4E61CF
split-complementary
#CF4EA2 #61CF4E #4ECFBB
monochromatic
#80235F #B03083 #CF4EA2 #DC7EBB #E9AED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4EA2#FFFFFF#000000##000000
##CF4EA21.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)
#5A72A5
Deuteranopia (green-blind)
#7F879F
Tritanopia (blue-blind)
#DC4E71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4ea2;
/* rgb */ color: rgb(207, 78, 162);
/* oklch */ color: oklch(62.2% 0.186 343.9);
Tailwind
colors: {
  custom: {
    50: '#e187bd',
    500: '#cf4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ea2;
$custom-light: #e187bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ea2",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 320.93,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62188,
    "c": 0.18607,
    "h": 343.9
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#CF4EA2
secondary
#A2D7B4
accent
#E17D47
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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