#B8286B#B8286B

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

Color values

HEX#B8286B
RGBrgb(184, 40, 107)
HSLhsl(332, 64%, 44%)
HSVhsv(332, 78%, 72%)
CMYKcmyk(0%, 78.3%, 41.8%, 27.8%)
CIE-LABlab(42.42, 60.59, -2.92)
CIE-LCHlch(42.42, 60.66, 357.24°)
OKLaboklab(52.81% 0.1863 -0.0069)
OKLCHoklch(52.81% 0.186 357.9)
XYZxyz(23.1815, 12.7725, 15.1517)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8286B #28B875
analogous
#B828B3 #B8286B #B82D28
triadic
#B8286B #6BB828 #286BB8
tetradic
#B8286B #B3B828 #28B875 #2D28B8
square
#B8286B #B3B828 #28B875 #2D28B8
split-complementary
#B8286B #28B82D #28B3B8
monochromatic
#531231 #861D4E #B8286B #D7468A #E279AA

Accessibility & contrast

On white

5.91
#B8286B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8286B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8286B#FFFFFF#000000##FFFFFF
##B8286B1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536D
Deuteranopia (green-blind)
#706E68
Tritanopia (blue-blind)
#C70D46
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8286b;
/* rgb */ color: rgb(184, 40, 107);
/* oklch */ color: oklch(52.8% 0.186 357.9);
Tailwind
colors: {
  custom: {
    50: '#d37195',
    500: '#b8286b',
    950: '#000000',
  },
}
SCSS
$custom: #b8286b;
$custom-light: #d37195;
$custom-dark: #000000;
JSON
{
  "hex": "#b8286b",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 332.083,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.18645,
    "h": 357.9
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#B8286B
secondary
#72CAA1
accent
#E79A41
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8286B

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

Preview Lab → · Contrast checker → · Palette generator →

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