#B03172#B03172

#B03172 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.173 H 353.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B03172
RGBrgb(176, 49, 114)
HSLhsl(329, 56%, 44%)
HSVhsv(329, 72%, 69%)
CMYKcmyk(0%, 72.2%, 35.2%, 31%)
CIE-LABlab(42.22, 56.23, -7.72)
CIE-LCHlch(42.22, 56.76, 352.18°)
OKLaboklab(52.48% 0.1722 -0.0197)
OKLCHoklch(52.48% 0.173 353.5)
XYZxyz(22.0414, 12.6442, 17.1962)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03172 #31B06F
analogous
#AF31B0 #B03172 #B03133
triadic
#B03172 #72B031 #3172B0
tetradic
#B03172 #B0AF31 #31B06F #3133B0
square
#B03172 #B0AF31 #31B06F #3133B0
split-complementary
#B03172 #33B031 #31B0AF
monochromatic
#501634 #802453 #B03172 #CE5091 #DC80AF

Accessibility & contrast

On white

5.95
#B03172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B03172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03172
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03172#FFFFFF#000000##FFFFFF
##B031721.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485574
Deuteranopia (green-blind)
#6B6C6F
Tritanopia (blue-blind)
#BE264D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b03172;
/* rgb */ color: rgb(176, 49, 114);
/* oklch */ color: oklch(52.5% 0.173 353.5);
Tailwind
colors: {
  custom: {
    50: '#cc749a',
    500: '#b03172',
    950: '#000000',
  },
}
SCSS
$custom: #b03172;
$custom-light: #cc749a;
$custom-dark: #000000;
JSON
{
  "hex": "#b03172",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 329.291,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52477,
    "c": 0.17336,
    "h": 353.5
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#B03172
secondary
#78C59D
accent
#E09248
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B03172

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

Preview Lab → · Contrast checker → · Palette generator →

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