#B1308B#B1308B

#B1308B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.189 H 342.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B1308B
RGBrgb(177, 48, 139)
HSLhsl(318, 57%, 44%)
HSVhsv(318, 73%, 69%)
CMYKcmyk(0%, 72.9%, 21.5%, 30.6%)
CIE-LABlab(43.25, 59.97, -21.50)
CIE-LCHlch(43.25, 63.71, 340.27°)
OKLaboklab(53.58% 0.1801 -0.0577)
OKLCHoklch(53.58% 0.189 342.2)
XYZxyz(23.8494, 13.3275, 25.7375)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1308B #30B156
analogous
#9730B1 #B1308B #B1304B
triadic
#B1308B #8BB130 #308BB1
tetradic
#B1308B #B19730 #30B156 #304BB1
square
#B1308B #B19730 #30B156 #304BB1
split-complementary
#B1308B #4BB130 #30B197
monochromatic
#51163F #812365 #B1308B #CF4FA9 #DC7FC1

Accessibility & contrast

On white

5.73
#B1308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B1308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1308B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1308B#FFFFFF#000000##FFFFFF
##B1308B1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598E
Deuteranopia (green-blind)
#646E88
Tritanopia (blue-blind)
#BC3159
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b1308b;
/* rgb */ color: rgb(177, 48, 139);
/* oklch */ color: oklch(53.6% 0.189 342.2);
Tailwind
colors: {
  custom: {
    50: '#cc74ad',
    500: '#b1308b',
    950: '#000000',
  },
}
SCSS
$custom: #b1308b;
$custom-light: #cc74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b1308b",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 317.674,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53582,
    "c": 0.18908,
    "h": 342.2
  },
  "luminance": 0.13325
}

Semantic roles & 50–950 ramp

primary
#B1308B
secondary
#78C58E
accent
#E17447
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B1308B

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

Preview Lab → · Contrast checker → · Palette generator →

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