#B03171#B03171

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

Color values

HEX#B03171
RGBrgb(176, 49, 113)
HSLhsl(330, 56%, 44%)
HSVhsv(330, 72%, 69%)
CMYKcmyk(0%, 72.2%, 35.8%, 31%)
CIE-LABlab(42.19, 56.12, -7.16)
CIE-LCHlch(42.19, 56.57, 352.73°)
OKLaboklab(52.44% 0.1719 -0.0182)
OKLCHoklch(52.44% 0.173 354)
XYZxyz(21.9848, 12.6216, 16.8980)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03171 #31B070
analogous
#B031B0 #B03171 #B03132
triadic
#B03171 #71B031 #3171B0
tetradic
#B03171 #B0B031 #31B070 #3132B0
square
#B03171 #B0B031 #31B070 #3132B0
split-complementary
#B03171 #32B031 #31B0B0
monochromatic
#501634 #802452 #B03171 #CE5090 #DC80AE

Accessibility & contrast

On white

5.96
#B03171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B03171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03171
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03171#FFFFFF#000000##FFFFFF
##B031711.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485573
Deuteranopia (green-blind)
#6B6C6E
Tritanopia (blue-blind)
#BE254D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b03171;
/* rgb */ color: rgb(176, 49, 113);
/* oklch */ color: oklch(52.4% 0.173 354.0);
Tailwind
colors: {
  custom: {
    50: '#cc7499',
    500: '#b03171',
    950: '#000000',
  },
}
SCSS
$custom: #b03171;
$custom-light: #cc7499;
$custom-dark: #000000;
JSON
{
  "hex": "#b03171",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 329.764,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.1729,
    "h": 354
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#B03171
secondary
#78C59E
accent
#E09348
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B03171

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

Preview Lab → · Contrast checker → · Palette generator →

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