#C72A98#C72A98

#C72A98 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.3% C 0.217 H 343.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C72A98
RGBrgb(199, 42, 152)
HSLhsl(318, 65%, 47%)
HSVhsv(318, 79%, 78%)
CMYKcmyk(0%, 78.9%, 23.6%, 22%)
CIE-LABlab(47.06, 68.79, -23.15)
CIE-LCHlch(47.06, 72.58, 341.40°)
OKLaboklab(57.25% 0.2079 -0.062)
OKLCHoklch(57.25% 0.217 343.4)
XYZxyz(30.0499, 16.0683, 31.2187)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72A98 #2AC759
analogous
#A82AC7 #C72A98 #C72A49
triadic
#C72A98 #98C72A #2A98C7
tetradic
#C72A98 #C7A82A #2AC759 #2A49C7
square
#C72A98 #C7A82A #2AC759 #2A49C7
split-complementary
#C72A98 #49C72A #2AC7A8
monochromatic
#62154B #941F71 #C72A98 #DB53B2 #E586C9

Accessibility & contrast

On white

4.98
#C72A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C72A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72A98
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72A98#FFFFFF#000000##FFFFFF
##C72A981.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9B
Deuteranopia (green-blind)
#6F7995
Tritanopia (blue-blind)
#D42A5F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c72a98;
/* rgb */ color: rgb(199, 42, 152);
/* oklch */ color: oklch(57.3% 0.217 343.4);
Tailwind
colors: {
  custom: {
    50: '#dd75b6',
    500: '#c72a98',
    950: '#000000',
  },
}
SCSS
$custom: #c72a98;
$custom-light: #dd75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c72a98",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 317.962,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.2169,
    "h": 343.4
  },
  "luminance": 0.16065
}

Semantic roles & 50–950 ramp

primary
#C72A98
secondary
#7ECF96
accent
#E87240
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #C72A98

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

Preview Lab → · Contrast checker → · Palette generator →

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