#B8286A#B8286A

#B8286A is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.186 H 358.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B8286A
RGBrgb(184, 40, 106)
HSLhsl(333, 64%, 44%)
HSVhsv(333, 78%, 72%)
CMYKcmyk(0%, 78.3%, 42.4%, 27.8%)
CIE-LABlab(42.39, 60.49, -2.34)
CIE-LCHlch(42.39, 60.54, 357.78°)
OKLaboklab(52.78% 0.186 -0.0054)
OKLCHoklch(52.78% 0.186 358.3)
XYZxyz(23.1292, 12.7516, 14.8762)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8286A #28B876
analogous
#B828B2 #B8286A #B82E28
triadic
#B8286A #6AB828 #286AB8
tetradic
#B8286A #B2B828 #28B876 #2E28B8
square
#B8286A #B2B828 #28B876 #2E28B8
split-complementary
#B8286A #28B82E #28B2B8
monochromatic
#531230 #861D4D #B8286A #D74689 #E279A9

Accessibility & contrast

On white

5.92
#B8286A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B8286A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8286A
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8286A#FFFFFF#000000##FFFFFF
##B8286A1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49536C
Deuteranopia (green-blind)
#706E67
Tritanopia (blue-blind)
#C80B46
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8286a;
/* rgb */ color: rgb(184, 40, 106);
/* oklch */ color: oklch(52.8% 0.186 358.3);
Tailwind
colors: {
  custom: {
    50: '#d37194',
    500: '#b8286a',
    950: '#000000',
  },
}
SCSS
$custom: #b8286a;
$custom-light: #d37194;
$custom-dark: #000000;
JSON
{
  "hex": "#b8286a",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 332.5,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5278,
    "c": 0.18608,
    "h": 358.3
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#B8286A
secondary
#72CAA2
accent
#E79B41
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8286A

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

Preview Lab → · Contrast checker → · Palette generator →

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