#CF4A96#CF4A96

#CF4A96 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.185 H 348.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CF4A96
RGBrgb(207, 74, 150)
HSLhsl(326, 58%, 55%)
HSVhsv(326, 64%, 81%)
CMYKcmyk(0%, 64.3%, 27.5%, 18.8%)
CIE-LABlab(52.25, 59.66, -13.91)
CIE-LCHlch(52.25, 61.26, 346.88°)
OKLaboklab(61.27% 0.181 -0.0365)
OKLCHoklch(61.27% 0.185 348.6)
XYZxyz(33.6874, 20.3684, 31.0056)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A96 #4ACF83
analogous
#C54ACF #CF4A96 #CF4A54
triadic
#CF4A96 #96CF4A #4A96CF
tetradic
#CF4A96 #CFC54A #4ACF83 #4A54CF
square
#CF4A96 #CFC54A #4ACF83 #4A54CF
split-complementary
#CF4A96 #54CF4A #4ACFC5
monochromatic
#7D2156 #AE2E77 #CF4A96 #DC7AB2 #E9ABCE

Accessibility & contrast

On white

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

On black

5.07
#CF4A96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A96
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A96#FFFFFF#000000##000000
##CF4A961.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E98
Deuteranopia (green-blind)
#818593
Tritanopia (blue-blind)
#DD456A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4a96;
/* rgb */ color: rgb(207, 74, 150);
/* oklch */ color: oklch(61.3% 0.185 348.6);
Tailwind
colors: {
  custom: {
    50: '#e185b5',
    500: '#cf4a96',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a96;
$custom-light: #e185b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a96",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 325.714,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61266,
    "c": 0.1846,
    "h": 348.6
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

primary
#CF4A96
secondary
#9FD6B6
accent
#E18946
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4A96

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

Preview Lab → · Contrast checker → · Palette generator →

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