#C72BA8#C72BA8

#C72BA8 is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 58.1% C 0.226 H 337.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C72BA8
RGBrgb(199, 43, 168)
HSLhsl(312, 64%, 47%)
HSVhsv(312, 78%, 78%)
CMYKcmyk(0%, 78.4%, 15.6%, 22%)
CIE-LABlab(47.88, 70.62, -31.41)
CIE-LCHlch(47.88, 77.29, 336.02°)
OKLaboklab(58.07% 0.2091 -0.0854)
OKLCHoklch(58.07% 0.226 337.8)
XYZxyz(31.4857, 16.7001, 38.6034)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72BA8 #2BC74A
analogous
#982BC7 #C72BA8 #C72B5A
triadic
#C72BA8 #A8C72B #2BA8C7
tetradic
#C72BA8 #C7982B #2BC74A #2B5AC7
square
#C72BA8 #C7982B #2BC74A #2B5AC7
split-complementary
#C72BA8 #5AC72B #2BC798
monochromatic
#621553 #95207E #C72BA8 #DA55C0 #E587D2

Accessibility & contrast

On white

4.84
#C72BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C72BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72BA8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72BA8#FFFFFF#000000##FFFFFF
##C72BA81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AB
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#D23568
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72ba8;
/* rgb */ color: rgb(199, 43, 168);
/* oklch */ color: oklch(58.1% 0.226 337.8);
Tailwind
colors: {
  custom: {
    50: '#dc76c2',
    500: '#c72ba8',
    950: '#000000',
  },
}
SCSS
$custom: #c72ba8;
$custom-light: #dc76c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ba8",
  "rgb": {
    "r": 199,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 311.923,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.22582,
    "h": 337.8
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#C72BA8
secondary
#7FCF8F
accent
#E76240
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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