#B8286D#B8286D

#B8286D is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.187 H 357.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B8286D
RGBrgb(184, 40, 109)
HSLhsl(331, 64%, 44%)
HSVhsv(331, 78%, 72%)
CMYKcmyk(0%, 78.3%, 40.8%, 27.8%)
CIE-LABlab(42.48, 60.79, -4.07)
CIE-LCHlch(42.48, 60.93, 356.17°)
OKLaboklab(52.88% 0.1869 -0.0099)
OKLCHoklch(52.88% 0.187 357)
XYZxyz(23.2880, 12.8151, 15.7123)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8286D #28B873
analogous
#B828B5 #B8286D #B82B28
triadic
#B8286D #6DB828 #286DB8
tetradic
#B8286D #B5B828 #28B873 #2B28B8
square
#B8286D #B5B828 #28B873 #2B28B8
split-complementary
#B8286D #28B82B #28B5B8
monochromatic
#531231 #861D4F #B8286D #D7468C #E279AB

Accessibility & contrast

On white

5.89
#B8286D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B8286D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8286D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8286D#FFFFFF#000000##FFFFFF
##B8286D1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536F
Deuteranopia (green-blind)
#6F6E6A
Tritanopia (blue-blind)
#C70F47
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8286d;
/* rgb */ color: rgb(184, 40, 109);
/* oklch */ color: oklch(52.9% 0.187 357.0);
Tailwind
colors: {
  custom: {
    50: '#d37196',
    500: '#b8286d',
    950: '#000000',
  },
}
SCSS
$custom: #b8286d;
$custom-light: #d37196;
$custom-dark: #000000;
JSON
{
  "hex": "#b8286d",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 331.25,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.1872,
    "h": 357
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#B8286D
secondary
#72CAA0
accent
#E79741
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8286D

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

Preview Lab → · Contrast checker → · Palette generator →

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