#B2387F#B2387F

#B2387F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.173 H 348.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B2387F
RGBrgb(178, 56, 127)
HSLhsl(325, 52%, 46%)
HSVhsv(325, 69%, 70%)
CMYKcmyk(0%, 68.5%, 28.7%, 30.2%)
CIE-LABlab(43.99, 55.73, -13.04)
CIE-LCHlch(43.99, 57.24, 346.83°)
OKLaboklab(53.99% 0.1694 -0.0342)
OKLCHoklch(53.99% 0.173 348.6)
XYZxyz(23.6061, 13.8282, 21.5005)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2387F #38B26B
analogous
#A838B2 #B2387F #B23842
triadic
#B2387F #7FB238 #387FB2
tetradic
#B2387F #B2A838 #38B26B #3842B2
square
#B2387F #B2A838 #38B26B #3842B2
split-complementary
#B2387F #42B238 #38B2A8
monochromatic
#551B3D #83295E #B2387F #CC5C9D #DA8AB9

Accessibility & contrast

On white

5.58
#B2387F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B2387F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2387F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2387F#FFFFFF#000000##FFFFFF
##B2387F1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A81
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#BF3356
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b2387f;
/* rgb */ color: rgb(178, 56, 127);
/* oklch */ color: oklch(54.0% 0.173 348.6);
Tailwind
colors: {
  custom: {
    50: '#cd78a4',
    500: '#b2387f',
    950: '#000000',
  },
}
SCSS
$custom: #b2387f;
$custom-light: #cd78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2387f",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 325.082,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.17284,
    "h": 348.6
  },
  "luminance": 0.13826
}

Semantic roles & 50–950 ramp

primary
#B2387F
secondary
#81C59D
accent
#DC884C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B2387F

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

Preview Lab → · Contrast checker → · Palette generator →

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