#CF4D98#CF4D98

#CF4D98 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.182 H 348.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF4D98
RGBrgb(207, 77, 152)
HSLhsl(325, 58%, 56%)
HSVhsv(325, 63%, 81%)
CMYKcmyk(0%, 62.8%, 26.6%, 18.8%)
CIE-LABlab(52.78, 58.67, -14.29)
CIE-LCHlch(52.78, 60.39, 346.31°)
OKLaboklab(61.68% 0.1776 -0.0375)
OKLCHoklch(61.68% 0.182 348.1)
XYZxyz(34.0549, 20.8436, 31.9294)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4D98 #4DCF84
analogous
#C54DCF #CF4D98 #CF4D57
triadic
#CF4D98 #98CF4D #4D98CF
tetradic
#CF4D98 #CFC54D #4DCF84 #4D57CF
square
#CF4D98 #CFC54D #4DCF84 #4D57CF
split-complementary
#CF4D98 #57CF4D #4DCFC5
monochromatic
#7F2258 #AF2F79 #CF4D98 #DC7DB4 #E9ADD0

Accessibility & contrast

On white

4.06
#CF4D98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CF4D98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4D98
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4D98#FFFFFF#000000##000000
##CF4D981.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D709A
Deuteranopia (green-blind)
#828695
Tritanopia (blue-blind)
#DD496C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4d98;
/* rgb */ color: rgb(207, 77, 152);
/* oklch */ color: oklch(61.7% 0.182 348.1);
Tailwind
colors: {
  custom: {
    50: '#e186b6',
    500: '#cf4d98',
    950: '#000000',
  },
}
SCSS
$custom: #cf4d98;
$custom-light: #e186b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4d98",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 325.385,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61678,
    "c": 0.18156,
    "h": 348.1
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#CF4D98
secondary
#A1D7B8
accent
#E18847
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF4D98

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

Preview Lab → · Contrast checker → · Palette generator →

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