#B1387F#B1387F

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

Color values

HEX#B1387F
RGBrgb(177, 56, 127)
HSLhsl(325, 52%, 46%)
HSVhsv(325, 68%, 69%)
CMYKcmyk(0%, 68.4%, 28.2%, 30.6%)
CIE-LABlab(43.81, 55.45, -13.32)
CIE-LCHlch(43.81, 57.03, 346.50°)
OKLaboklab(53.83% 0.1685 -0.035)
OKLCHoklch(53.83% 0.172 348.3)
XYZxyz(23.3775, 13.7102, 21.4898)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1387F #38B16A
analogous
#A638B1 #B1387F #B13843
triadic
#B1387F #7FB138 #387FB1
tetradic
#B1387F #B1A638 #38B16A #3843B1
square
#B1387F #B1A638 #38B16A #3843B1
split-complementary
#B1387F #43B138 #38B1A6
monochromatic
#541B3C #83295E #B1387F #CB5B9D #DA8AB9

Accessibility & contrast

On white

5.61
#B1387F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1387F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1387F#FFFFFF#000000##FFFFFF
##B1387F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A81
Deuteranopia (green-blind)
#6B6F7C
Tritanopia (blue-blind)
#BD3356
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b1387f;
/* rgb */ color: rgb(177, 56, 127);
/* oklch */ color: oklch(53.8% 0.172 348.3);
Tailwind
colors: {
  custom: {
    50: '#cc78a4',
    500: '#b1387f',
    950: '#000000',
  },
}
SCSS
$custom: #b1387f;
$custom-light: #cc78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b1387f",
  "rgb": {
    "r": 177,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 324.793,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53833,
    "c": 0.17205,
    "h": 348.3
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#B1387F
secondary
#81C49D
accent
#DB874C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B1387F

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

Preview Lab → · Contrast checker → · Palette generator →

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