#B2387E#B2387E

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

Color values

HEX#B2387E
RGBrgb(178, 56, 126)
HSLhsl(326, 52%, 46%)
HSVhsv(326, 69%, 70%)
CMYKcmyk(0%, 68.5%, 29.2%, 30.2%)
CIE-LABlab(43.95, 55.61, -12.49)
CIE-LCHlch(43.95, 56.99, 347.34°)
OKLaboklab(53.95% 0.1692 -0.0327)
OKLCHoklch(53.95% 0.172 349.1)
XYZxyz(23.5413, 13.8022, 21.1590)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2387E #38B26C
analogous
#A938B2 #B2387E #B23841
triadic
#B2387E #7EB238 #387EB2
tetradic
#B2387E #B2A938 #38B26C #3841B2
square
#B2387E #B2A938 #38B26C #3841B2
split-complementary
#B2387E #41B238 #38B2A9
monochromatic
#551B3C #83295D #B2387E #CC5C9C #DA8AB8

Accessibility & contrast

On white

5.59
#B2387E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B2387E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2387E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2387E#FFFFFF#000000##FFFFFF
##B2387E1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2387e;
/* rgb */ color: rgb(178, 56, 126);
/* oklch */ color: oklch(54.0% 0.172 349.1);
Tailwind
colors: {
  custom: {
    50: '#cd78a3',
    500: '#b2387e',
    950: '#000000',
  },
}
SCSS
$custom: #b2387e;
$custom-light: #cd78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2387e",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 325.574,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53951,
    "c": 0.17229,
    "h": 349.1
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#B2387E
secondary
#81C59E
accent
#DC894C
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B2387E

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

Preview Lab → · Contrast checker → · Palette generator →

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