#CF4A98#CF4A98

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

Color values

HEX#CF4A98
RGBrgb(207, 74, 152)
HSLhsl(325, 58%, 55%)
HSVhsv(325, 64%, 81%)
CMYKcmyk(0%, 64.3%, 26.6%, 18.8%)
CIE-LABlab(52.32, 59.91, -14.98)
CIE-LCHlch(52.32, 61.76, 345.96°)
OKLaboklab(61.34% 0.1815 -0.0394)
OKLCHoklch(61.34% 0.186 347.8)
XYZxyz(33.8498, 20.4334, 31.8610)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4A98 #4ACF81
analogous
#C44ACF #CF4A98 #CF4A55
triadic
#CF4A98 #98CF4A #4A98CF
tetradic
#CF4A98 #CFC44A #4ACF81 #4A55CF
square
#CF4A98 #CFC44A #4ACF81 #4A55CF
split-complementary
#CF4A98 #55CF4A #4ACFC4
monochromatic
#7D2157 #AE2E79 #CF4A98 #DC7AB4 #E9ABCF

Accessibility & contrast

On white

4.13
#CF4A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CF4A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4A98
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4A98#FFFFFF#000000##000000
##CF4A981.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E9A
Deuteranopia (green-blind)
#808595
Tritanopia (blue-blind)
#DD466B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4a98;
/* rgb */ color: rgb(207, 74, 152);
/* oklch */ color: oklch(61.3% 0.186 347.8);
Tailwind
colors: {
  custom: {
    50: '#e185b6',
    500: '#cf4a98',
    950: '#000000',
  },
}
SCSS
$custom: #cf4a98;
$custom-light: #e185b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4a98",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 324.812,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61343,
    "c": 0.1857,
    "h": 347.8
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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