#B93271#B93271

#B93271 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.179 H 356.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B93271
RGBrgb(185, 50, 113)
HSLhsl(332, 57%, 46%)
HSVhsv(332, 73%, 73%)
CMYKcmyk(0%, 73%, 38.9%, 27.5%)
CIE-LABlab(43.93, 58.28, -4.39)
CIE-LCHlch(43.93, 58.44, 355.69°)
OKLaboklab(54.02% 0.1788 -0.0108)
OKLCHoklch(54.02% 0.179 356.5)
XYZxyz(24.1304, 13.7907, 17.0107)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B93271 #32B97A
analogous
#B932B4 #B93271 #B93632
triadic
#B93271 #71B932 #3271B9
tetradic
#B93271 #B4B932 #32B97A #3632B9
square
#B93271 #B4B932 #32B97A #3632B9
split-complementary
#B93271 #32B936 #32B4B9
monochromatic
#591836 #892554 #B93271 #D25790 #DF87B0

Accessibility & contrast

On white

5.59
#B93271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B93271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B93271
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B93271#FFFFFF#000000##FFFFFF
##B932711.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5873
Deuteranopia (green-blind)
#72716E
Tritanopia (blue-blind)
#C8224D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b93271;
/* rgb */ color: rgb(185, 50, 113);
/* oklch */ color: oklch(54.0% 0.179 356.5);
Tailwind
colors: {
  custom: {
    50: '#d37599',
    500: '#b93271',
    950: '#000000',
  },
}
SCSS
$custom: #b93271;
$custom-light: #d37599;
$custom-dark: #000000;
JSON
{
  "hex": "#b93271",
  "rgb": {
    "r": 185,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 332,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.17916,
    "h": 356.5
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#B93271
secondary
#7FC8A6
accent
#E19947
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B93271

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

Preview Lab → · Contrast checker → · Palette generator →

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