#B1318A#B1318A

#B1318A is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.187 H 342.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B1318A
RGBrgb(177, 49, 138)
HSLhsl(318, 57%, 44%)
HSVhsv(318, 72%, 69%)
CMYKcmyk(0%, 72.3%, 22%, 30.6%)
CIE-LABlab(43.33, 59.49, -20.77)
CIE-LCHlch(43.33, 63.01, 340.75°)
OKLaboklab(53.63% 0.1788 -0.0556)
OKLCHoklch(53.63% 0.187 342.7)
XYZxyz(23.8180, 13.3811, 25.3683)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1318A #31B158
analogous
#9831B1 #B1318A #B1314A
triadic
#B1318A #8AB131 #318AB1
tetradic
#B1318A #B19831 #31B158 #314AB1
square
#B1318A #B19831 #31B158 #314AB1
split-complementary
#B1318A #4AB131 #31B198
monochromatic
#51163F #812465 #B1318A #CF51A8 #DC80C0

Accessibility & contrast

On white

5.71
#B1318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B1318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1318A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1318A#FFFFFF#000000##FFFFFF
##B1318A1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#BC3259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b1318a;
/* rgb */ color: rgb(177, 49, 138);
/* oklch */ color: oklch(53.6% 0.187 342.7);
Tailwind
colors: {
  custom: {
    50: '#cc75ac',
    500: '#b1318a',
    950: '#000000',
  },
}
SCSS
$custom: #b1318a;
$custom-light: #cc75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b1318a",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 318.281,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.18728,
    "h": 342.7
  },
  "luminance": 0.13379
}

Semantic roles & 50–950 ramp

primary
#B1318A
secondary
#79C590
accent
#E07648
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B1318A

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

Preview Lab → · Contrast checker → · Palette generator →

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