#CF4E9A#CF4E9A

#CF4E9A is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.181 H 347.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CF4E9A
RGBrgb(207, 78, 154)
HSLhsl(325, 57%, 56%)
HSVhsv(325, 62%, 81%)
CMYKcmyk(0%, 62.3%, 25.6%, 18.8%)
CIE-LABlab(53.00, 58.51, -15.13)
CIE-LCHlch(53.00, 60.43, 345.50°)
OKLaboklab(61.87% 0.1769 -0.0398)
OKLCHoklch(61.87% 0.181 347.3)
XYZxyz(34.2906, 21.0506, 32.8229)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E9A #4ECF83
analogous
#C34ECF #CF4E9A #CF4E59
triadic
#CF4E9A #9ACF4E #4E9ACF
tetradic
#CF4E9A #CFC34E #4ECF83 #4E59CF
square
#CF4E9A #CFC34E #4ECF83 #4E59CF
split-complementary
#CF4E9A #59CF4E #4ECFC3
monochromatic
#80235A #B0307B #CF4E9A #DC7EB5 #E9AED1

Accessibility & contrast

On white

4.03
#CF4E9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CF4E9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E9A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E9A#FFFFFF#000000##000000
##CF4E9A1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D709C
Deuteranopia (green-blind)
#818797
Tritanopia (blue-blind)
#DD4B6D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4e9a;
/* rgb */ color: rgb(207, 78, 154);
/* oklch */ color: oklch(61.9% 0.181 347.3);
Tailwind
colors: {
  custom: {
    50: '#e187b7',
    500: '#cf4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e9a;
$custom-light: #e187b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e9a",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 324.651,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61869,
    "c": 0.18129,
    "h": 347.3
  },
  "luminance": 0.21047
}

Semantic roles & 50–950 ramp

primary
#CF4E9A
secondary
#A2D7B8
accent
#E18647
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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