#CF4E98#CF4E98

#CF4E98 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.180 H 348.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CF4E98
RGBrgb(207, 78, 152)
HSLhsl(326, 57%, 56%)
HSVhsv(326, 62%, 81%)
CMYKcmyk(0%, 62.3%, 26.6%, 18.8%)
CIE-LABlab(52.93, 58.25, -14.06)
CIE-LCHlch(52.93, 59.92, 346.43°)
OKLaboklab(61.79% 0.1763 -0.0369)
OKLCHoklch(61.79% 0.18 348.2)
XYZxyz(34.1254, 20.9846, 31.9529)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E98 #4ECF85
analogous
#C54ECF #CF4E98 #CF4E57
triadic
#CF4E98 #98CF4E #4E98CF
tetradic
#CF4E98 #CFC54E #4ECF85 #4E57CF
square
#CF4E98 #CFC54E #4ECF85 #4E57CF
split-complementary
#CF4E98 #57CF4E #4ECFC5
monochromatic
#802358 #B03079 #CF4E98 #DC7EB4 #E9AED0

Accessibility & contrast

On white

4.04
#CF4E98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CF4E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E98
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E98#FFFFFF#000000##000000
##CF4E981.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E709A
Deuteranopia (green-blind)
#828795
Tritanopia (blue-blind)
#DD4A6C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4e98;
/* rgb */ color: rgb(207, 78, 152);
/* oklch */ color: oklch(61.8% 0.180 348.2);
Tailwind
colors: {
  custom: {
    50: '#e187b6',
    500: '#cf4e98',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e98;
$custom-light: #e187b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e98",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 325.581,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61792,
    "c": 0.18016,
    "h": 348.2
  },
  "luminance": 0.20981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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