#B1387C#B1387C

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

Color values

HEX#B1387C
RGBrgb(177, 56, 124)
HSLhsl(326, 52%, 46%)
HSVhsv(326, 68%, 69%)
CMYKcmyk(0%, 68.4%, 29.9%, 30.6%)
CIE-LABlab(43.70, 55.07, -11.65)
CIE-LCHlch(43.70, 56.29, 348.06°)
OKLaboklab(53.71% 0.1677 -0.0304)
OKLCHoklch(53.71% 0.17 349.7)
XYZxyz(23.1849, 13.6332, 20.4754)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1387C #38B16D
analogous
#A938B1 #B1387C #B1383F
triadic
#B1387C #7CB138 #387CB1
tetradic
#B1387C #B1A938 #38B16D #383FB1
square
#B1387C #B1A938 #38B16D #383FB1
split-complementary
#B1387C #3FB138 #38B1A9
monochromatic
#541B3B #83295B #B1387C #CB5B9A #DA8AB7

Accessibility & contrast

On white

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

On black

3.73
#B1387C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B1387C#FFFFFF#000000##FFFFFF
##B1387C1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7E
Deuteranopia (green-blind)
#6C6F79
Tritanopia (blue-blind)
#BE3255
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b1387c;
/* rgb */ color: rgb(177, 56, 124);
/* oklch */ color: oklch(53.7% 0.170 349.7);
Tailwind
colors: {
  custom: {
    50: '#cc78a2',
    500: '#b1387c',
    950: '#000000',
  },
}
SCSS
$custom: #b1387c;
$custom-light: #cc78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1387c",
  "rgb": {
    "r": 177,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 326.281,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.17042,
    "h": 349.7
  },
  "luminance": 0.13631
}

Semantic roles & 50–950 ramp

primary
#B1387C
secondary
#81C49E
accent
#DB8B4C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B1387C

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

Preview Lab → · Contrast checker → · Palette generator →

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