#B1387B#B1387B

#B1387B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.170 H 350.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B1387B
RGBrgb(177, 56, 123)
HSLhsl(327, 52%, 46%)
HSVhsv(327, 68%, 69%)
CMYKcmyk(0%, 68.4%, 30.5%, 30.6%)
CIE-LABlab(43.67, 54.95, -11.09)
CIE-LCHlch(43.67, 56.06, 348.59°)
OKLaboklab(53.68% 0.1674 -0.0289)
OKLCHoklch(53.68% 0.17 350.2)
XYZxyz(23.1219, 13.6080, 20.1440)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1387B #38B16E
analogous
#AA38B1 #B1387B #B1383E
triadic
#B1387B #7BB138 #387BB1
tetradic
#B1387B #B1AA38 #38B16E #383EB1
square
#B1387B #B1AA38 #38B16E #383EB1
split-complementary
#B1387B #3EB138 #38B1AA
monochromatic
#541B3A #83295B #B1387B #CB5B99 #DA8AB6

Accessibility & contrast

On white

5.64
#B1387B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B1387B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1387B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1387B#FFFFFF#000000##FFFFFF
##B1387B1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7D
Deuteranopia (green-blind)
#6C6F78
Tritanopia (blue-blind)
#BE3254
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b1387b;
/* rgb */ color: rgb(177, 56, 123);
/* oklch */ color: oklch(53.7% 0.170 350.2);
Tailwind
colors: {
  custom: {
    50: '#cc78a1',
    500: '#b1387b',
    950: '#000000',
  },
}
SCSS
$custom: #b1387b;
$custom-light: #cc78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b1387b",
  "rgb": {
    "r": 177,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 326.777,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.16989,
    "h": 350.2
  },
  "luminance": 0.13606
}

Semantic roles & 50–950 ramp

primary
#B1387B
secondary
#81C49F
accent
#DB8C4C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B1387B

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

Preview Lab → · Contrast checker → · Palette generator →

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