#CF4C98#CF4C98

#CF4C98 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.6% C 0.183 H 348.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CF4C98
RGBrgb(207, 76, 152)
HSLhsl(325, 58%, 55%)
HSVhsv(325, 63%, 81%)
CMYKcmyk(0%, 63.3%, 26.6%, 18.8%)
CIE-LABlab(52.62, 59.09, -14.52)
CIE-LCHlch(52.62, 60.85, 346.19°)
OKLaboklab(61.57% 0.1789 -0.0382)
OKLCHoklch(61.57% 0.183 348)
XYZxyz(33.9854, 20.7047, 31.9063)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4C98 #4CCF83
analogous
#C44CCF #CF4C98 #CF4C56
triadic
#CF4C98 #98CF4C #4C98CF
tetradic
#CF4C98 #CFC44C #4CCF83 #4C56CF
square
#CF4C98 #CFC44C #4CCF83 #4C56CF
split-complementary
#CF4C98 #56CF4C #4CCFC4
monochromatic
#7F2258 #AF2F79 #CF4C98 #DC7CB4 #E9ADD0

Accessibility & contrast

On white

4.09
#CF4C98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CF4C98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4C98
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4C98#FFFFFF#000000##000000
##CF4C981.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#818695
Tritanopia (blue-blind)
#DD486B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4c98;
/* rgb */ color: rgb(207, 76, 152);
/* oklch */ color: oklch(61.6% 0.183 348.0);
Tailwind
colors: {
  custom: {
    50: '#e186b6',
    500: '#cf4c98',
    950: '#000000',
  },
}
SCSS
$custom: #cf4c98;
$custom-light: #e186b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4c98",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 325.191,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61565,
    "c": 0.18295,
    "h": 348
  },
  "luminance": 0.20701
}

Semantic roles & 50–950 ramp

primary
#CF4C98
secondary
#A0D7B7
accent
#E18847
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4C98

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

Preview Lab → · Contrast checker → · Palette generator →

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