#B72898#B72898

#B72898 is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.5% C 0.209 H 338.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B72898
RGBrgb(183, 40, 152)
HSLhsl(313, 64%, 44%)
HSVhsv(313, 78%, 72%)
CMYKcmyk(0%, 78.1%, 16.9%, 28.2%)
CIE-LABlab(44.02, 65.67, -28.09)
CIE-LCHlch(44.02, 71.42, 336.84°)
OKLaboklab(54.53% 0.1951 -0.0762)
OKLCHoklch(54.53% 0.209 338.7)
XYZxyz(25.9554, 13.8544, 31.0069)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72898 #28B747
analogous
#8E28B7 #B72898 #B72850
triadic
#B72898 #98B728 #2898B7
tetradic
#B72898 #B78E28 #28B747 #2850B7
square
#B72898 #B78E28 #28B747 #2850B7
split-complementary
#B72898 #50B728 #28B78E
monochromatic
#531245 #851D6E #B72898 #D646B7 #E178CB

Accessibility & contrast

On white

5.57
#B72898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B72898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72898
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72898#FFFFFF#000000##FFFFFF
##B728981.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#617095
Tritanopia (blue-blind)
#C22F5E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b72898;
/* rgb */ color: rgb(183, 40, 152);
/* oklch */ color: oklch(54.5% 0.209 338.7);
Tailwind
colors: {
  custom: {
    50: '#d172b6',
    500: '#b72898',
    950: '#000000',
  },
}
SCSS
$custom: #b72898;
$custom-light: #d172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b72898",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 313.007,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.20945,
    "h": 338.7
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#B72898
secondary
#72C985
accent
#E76541
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B72898

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

Preview Lab → · Contrast checker → · Palette generator →

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