#B8387E#B8387E

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

Color values

HEX#B8387E
RGBrgb(184, 56, 126)
HSLhsl(327, 53%, 47%)
HSVhsv(327, 70%, 72%)
CMYKcmyk(0%, 69.6%, 31.5%, 27.8%)
CIE-LABlab(44.98, 57.29, -10.83)
CIE-LCHlch(44.98, 58.31, 349.30°)
OKLaboklab(54.91% 0.1748 -0.0281)
OKLCHoklch(54.91% 0.177 350.9)
XYZxyz(24.9485, 14.5278, 21.2249)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8387E #38B872
analogous
#B238B8 #B8387E #B8383E
triadic
#B8387E #7EB838 #387EB8
tetradic
#B8387E #B8B238 #38B872 #383EB8
square
#B8387E #B8B238 #38B872 #383EB8
split-complementary
#B8387E #3EB838 #38B8B2
monochromatic
#5A1B3E #892A5E #B8387E #CE5F9C #DD8EB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8387E#FFFFFF#000000##FFFFFF
##B8387E1.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)
#4C5C80
Deuteranopia (green-blind)
#70737B
Tritanopia (blue-blind)
#C53056
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b8387e;
/* rgb */ color: rgb(184, 56, 126);
/* oklch */ color: oklch(54.9% 0.177 350.9);
Tailwind
colors: {
  custom: {
    50: '#d178a3',
    500: '#b8387e',
    950: '#000000',
  },
}
SCSS
$custom: #b8387e;
$custom-light: #d178a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8387e",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 327.188,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.17709,
    "h": 350.9
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8387E

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

Preview Lab → · Contrast checker → · Palette generator →

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