#B1387E#B1387E

#B1387E is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.171 H 348.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B1387E
RGBrgb(177, 56, 126)
HSLhsl(325, 52%, 46%)
HSVhsv(325, 68%, 69%)
CMYKcmyk(0%, 68.4%, 28.8%, 30.6%)
CIE-LABlab(43.78, 55.32, -12.76)
CIE-LCHlch(43.78, 56.78, 347.01°)
OKLaboklab(53.79% 0.1682 -0.0334)
OKLCHoklch(53.79% 0.171 348.8)
XYZxyz(23.3126, 13.6843, 21.1482)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1387E #38B16B
analogous
#A738B1 #B1387E #B13842
triadic
#B1387E #7EB138 #387EB1
tetradic
#B1387E #B1A738 #38B16B #3842B1
square
#B1387E #B1A738 #38B16B #3842B1
split-complementary
#B1387E #42B138 #38B1A7
monochromatic
#541B3C #83295D #B1387E #CB5B9C #DA8AB8

Accessibility & contrast

On white

5.62
#B1387E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B1387E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1387E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1387E#FFFFFF#000000##FFFFFF
##B1387E1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A80
Deuteranopia (green-blind)
#6B6F7B
Tritanopia (blue-blind)
#BD3356
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b1387e;
/* rgb */ color: rgb(177, 56, 126);
/* oklch */ color: oklch(53.8% 0.171 348.8);
Tailwind
colors: {
  custom: {
    50: '#cc78a3',
    500: '#b1387e',
    950: '#000000',
  },
}
SCSS
$custom: #b1387e;
$custom-light: #cc78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b1387e",
  "rgb": {
    "r": 177,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 325.289,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.17149,
    "h": 348.8
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#B1387E
secondary
#81C49D
accent
#DB894C
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B1387E

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

Preview Lab → · Contrast checker → · Palette generator →

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