#B8387F#B8387F

#B8387F is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.178 H 350.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B8387F
RGBrgb(184, 56, 127)
HSLhsl(327, 53%, 47%)
HSVhsv(327, 70%, 72%)
CMYKcmyk(0%, 69.6%, 31%, 27.8%)
CIE-LABlab(45.02, 57.41, -11.38)
CIE-LCHlch(45.02, 58.53, 348.79°)
OKLaboklab(54.94% 0.1751 -0.0296)
OKLCHoklch(54.94% 0.178 350.4)
XYZxyz(25.0134, 14.5538, 21.5664)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8387F #38B871
analogous
#B138B8 #B8387F #B8383F
triadic
#B8387F #7FB838 #387FB8
tetradic
#B8387F #B8B138 #38B871 #383FB8
square
#B8387F #B8B138 #38B871 #383FB8
split-complementary
#B8387F #3FB838 #38B8B1
monochromatic
#5A1B3E #892A5F #B8387F #CE5F9D #DD8EBA

Accessibility & contrast

On white

5.37
#B8387F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B8387F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8387F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8387F#FFFFFF#000000##FFFFFF
##B8387F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5C81
Deuteranopia (green-blind)
#70737C
Tritanopia (blue-blind)
#C53156
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b8387f;
/* rgb */ color: rgb(184, 56, 127);
/* oklch */ color: oklch(54.9% 0.178 350.4);
Tailwind
colors: {
  custom: {
    50: '#d178a4',
    500: '#b8387f',
    950: '#000000',
  },
}
SCSS
$custom: #b8387f;
$custom-light: #d178a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8387f",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 326.719,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54943,
    "c": 0.17759,
    "h": 350.4
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

primary
#B8387F
secondary
#85C7A2
accent
#DD8C4B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #B8387F

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

Preview Lab → · Contrast checker → · Palette generator →

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