#B8387D#B8387D

#B8387D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.177 H 351.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B8387D
RGBrgb(184, 56, 125)
HSLhsl(328, 53%, 47%)
HSVhsv(328, 70%, 72%)
CMYKcmyk(0%, 69.6%, 32.1%, 27.8%)
CIE-LABlab(44.94, 57.17, -10.27)
CIE-LCHlch(44.94, 58.09, 349.82°)
OKLaboklab(54.87% 0.1746 -0.0266)
OKLCHoklch(54.87% 0.177 351.3)
XYZxyz(24.8843, 14.5022, 20.8868)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8387D #38B873
analogous
#B338B8 #B8387D #B8383D
triadic
#B8387D #7DB838 #387DB8
tetradic
#B8387D #B8B338 #38B873 #383DB8
square
#B8387D #B8B338 #38B873 #383DB8
split-complementary
#B8387D #3DB838 #38B8B3
monochromatic
#5A1B3D #892A5D #B8387D #CE5F9B #DD8EB8

Accessibility & contrast

On white

5.38
#B8387D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B8387D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8387D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8387D#FFFFFF#000000##FFFFFF
##B8387D1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C7F
Deuteranopia (green-blind)
#70737A
Tritanopia (blue-blind)
#C63055
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b8387d;
/* rgb */ color: rgb(184, 56, 125);
/* oklch */ color: oklch(54.9% 0.177 351.3);
Tailwind
colors: {
  custom: {
    50: '#d278a2',
    500: '#b8387d',
    950: '#000000',
  },
}
SCSS
$custom: #b8387d;
$custom-light: #d278a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b8387d",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 327.656,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.17658,
    "h": 351.3
  },
  "luminance": 0.14499
}

Semantic roles & 50–950 ramp

primary
#B8387D
secondary
#85C7A3
accent
#DD8E4B
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #B8387D

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

Preview Lab → · Contrast checker → · Palette generator →

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