#B03271#B03271

#B03271 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.172 H 354.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B03271
RGBrgb(176, 50, 113)
HSLhsl(330, 56%, 44%)
HSVhsv(330, 72%, 69%)
CMYKcmyk(0%, 71.6%, 35.8%, 31%)
CIE-LABlab(42.32, 55.75, -6.96)
CIE-LCHlch(42.32, 56.19, 352.88°)
OKLaboklab(52.54% 0.1708 -0.0177)
OKLCHoklch(52.54% 0.172 354.1)
XYZxyz(22.0271, 12.7062, 16.9121)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03271 #32B071
analogous
#B032B0 #B03271 #B03232
triadic
#B03271 #71B032 #3271B0
tetradic
#B03271 #B0B032 #32B071 #3232B0
square
#B03271 #B0B032 #32B071 #3232B0
split-complementary
#B03271 #32B032 #32B0B0
monochromatic
#511734 #802452 #B03271 #CE5190 #DB81AE

Accessibility & contrast

On white

5.93
#B03271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B03271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03271
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03271#FFFFFF#000000##FFFFFF
##B032711.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495573
Deuteranopia (green-blind)
#6C6C6E
Tritanopia (blue-blind)
#BE274D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b03271;
/* rgb */ color: rgb(176, 50, 113);
/* oklch */ color: oklch(52.5% 0.172 354.1);
Tailwind
colors: {
  custom: {
    50: '#cc7499',
    500: '#b03271',
    950: '#000000',
  },
}
SCSS
$custom: #b03271;
$custom-light: #cc7499;
$custom-dark: #000000;
JSON
{
  "hex": "#b03271",
  "rgb": {
    "r": 176,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 330,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.17171,
    "h": 354.1
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

primary
#B03271
secondary
#79C49F
accent
#DF9449
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B03271

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

Preview Lab → · Contrast checker → · Palette generator →

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