#B1318B#B1318B

#B1318B is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.188 H 342.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B1318B
RGBrgb(177, 49, 139)
HSLhsl(318, 57%, 44%)
HSVhsv(318, 72%, 69%)
CMYKcmyk(0%, 72.3%, 21.5%, 30.6%)
CIE-LABlab(43.37, 59.62, -21.31)
CIE-LCHlch(43.37, 63.32, 340.33°)
OKLaboklab(53.67% 0.179 -0.0572)
OKLCHoklch(53.67% 0.188 342.3)
XYZxyz(23.8908, 13.4102, 25.7513)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1318B #31B157
analogous
#9731B1 #B1318B #B1314B
triadic
#B1318B #8BB131 #318BB1
tetradic
#B1318B #B19731 #31B157 #314BB1
square
#B1318B #B19731 #31B157 #314BB1
split-complementary
#B1318B #4BB131 #31B197
monochromatic
#511640 #812465 #B1318B #CF51A9 #DC80C1

Accessibility & contrast

On white

5.70
#B1318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1318B
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1318B#FFFFFF#000000##FFFFFF
##B1318B1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598E
Deuteranopia (green-blind)
#656E88
Tritanopia (blue-blind)
#BC325A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b1318b;
/* rgb */ color: rgb(177, 49, 139);
/* oklch */ color: oklch(53.7% 0.188 342.3);
Tailwind
colors: {
  custom: {
    50: '#cc75ad',
    500: '#b1318b',
    950: '#000000',
  },
}
SCSS
$custom: #b1318b;
$custom-light: #cc75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b1318b",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 317.813,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.18791,
    "h": 342.3
  },
  "luminance": 0.13408
}

Semantic roles & 50–950 ramp

primary
#B1318B
secondary
#79C58F
accent
#E07548
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B1318B

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

Preview Lab → · Contrast checker → · Palette generator →

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