#B03872#B03872

#B03872 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.2% C 0.165 H 354.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B03872
RGBrgb(176, 56, 114)
HSLhsl(331, 52%, 45%)
HSVhsv(331, 68%, 69%)
CMYKcmyk(0%, 68.2%, 35.2%, 31%)
CIE-LABlab(43.18, 53.58, -6.30)
CIE-LCHlch(43.18, 53.95, 353.29°)
OKLaboklab(53.18% 0.1639 -0.016)
OKLCHoklch(53.18% 0.165 354.4)
XYZxyz(22.3572, 13.2759, 17.3015)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03872 #38B076
analogous
#B038AE #B03872 #B03A38
triadic
#B03872 #72B038 #3872B0
tetradic
#B03872 #AEB038 #38B076 #3A38B0
square
#B03872 #AEB038 #38B076 #3A38B0
split-complementary
#B03872 #38B03A #38AEB0
monochromatic
#531A36 #822954 #B03872 #CB5B91 #D989B0

Accessibility & contrast

On white

5.75
#B03872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B03872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03872
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03872#FFFFFF#000000##FFFFFF
##B038721.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5874
Deuteranopia (green-blind)
#6E6E6F
Tritanopia (blue-blind)
#BE2E50
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b03872;
/* rgb */ color: rgb(176, 56, 114);
/* oklch */ color: oklch(53.2% 0.165 354.4);
Tailwind
colors: {
  custom: {
    50: '#cc779a',
    500: '#b03872',
    950: '#000000',
  },
}
SCSS
$custom: #b03872;
$custom-light: #cc779a;
$custom-dark: #000000;
JSON
{
  "hex": "#b03872",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 331,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53178,
    "c": 0.16466,
    "h": 354.4
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#B03872
secondary
#80C4A3
accent
#DB964D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B03872

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

Preview Lab → · Contrast checker → · Palette generator →

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