#B8286E#B8286E

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

Color values

HEX#B8286E
RGBrgb(184, 40, 110)
HSLhsl(331, 64%, 44%)
HSVhsv(331, 78%, 72%)
CMYKcmyk(0%, 78.3%, 40.2%, 27.8%)
CIE-LABlab(42.52, 60.89, -4.64)
CIE-LCHlch(42.52, 61.07, 355.64°)
OKLaboklab(52.92% 0.1872 -0.0114)
OKLCHoklch(52.92% 0.188 356.5)
XYZxyz(23.3421, 12.8367, 15.9974)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8286E #28B872
analogous
#B828B6 #B8286E #B82A28
triadic
#B8286E #6EB828 #286EB8
tetradic
#B8286E #B6B828 #28B872 #2A28B8
square
#B8286E #B6B828 #28B872 #2A28B8
split-complementary
#B8286E #28B82A #28B6B8
monochromatic
#531232 #861D50 #B8286E #D7468D #E279AC

Accessibility & contrast

On white

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

On black

3.57
#B8286E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B8286E#FFFFFF#000000##FFFFFF
##B8286E1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#6F6E6B
Tritanopia (blue-blind)
#C71048
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8286e;
/* rgb */ color: rgb(184, 40, 110);
/* oklch */ color: oklch(52.9% 0.188 356.5);
Tailwind
colors: {
  custom: {
    50: '#d37197',
    500: '#b8286e',
    950: '#000000',
  },
}
SCSS
$custom: #b8286e;
$custom-light: #d37197;
$custom-dark: #000000;
JSON
{
  "hex": "#b8286e",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 330.833,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.18759,
    "h": 356.5
  },
  "luminance": 0.12834
}

Semantic roles & 50–950 ramp

primary
#B8286E
secondary
#72CA9F
accent
#E79641
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8286E

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

Preview Lab → · Contrast checker → · Palette generator →

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