#B8286C#B8286C

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

Color values

HEX#B8286C
RGBrgb(184, 40, 108)
HSLhsl(332, 64%, 44%)
HSVhsv(332, 78%, 72%)
CMYKcmyk(0%, 78.3%, 41.3%, 27.8%)
CIE-LABlab(42.45, 60.69, -3.50)
CIE-LCHlch(42.45, 60.79, 356.70°)
OKLaboklab(52.85% 0.1866 -0.0084)
OKLCHoklch(52.85% 0.187 357.4)
XYZxyz(23.2344, 12.7937, 15.4304)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8286C #28B874
analogous
#B828B4 #B8286C #B82C28
triadic
#B8286C #6CB828 #286CB8
tetradic
#B8286C #B4B828 #28B874 #2C28B8
square
#B8286C #B4B828 #28B874 #2C28B8
split-complementary
#B8286C #28B82C #28B4B8
monochromatic
#531231 #861D4E #B8286C #D7468B #E279AA

Accessibility & contrast

On white

5.90
#B8286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8286C
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8286C#FFFFFF#000000##FFFFFF
##B8286C1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536E
Deuteranopia (green-blind)
#6F6E69
Tritanopia (blue-blind)
#C70E47
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8286c;
/* rgb */ color: rgb(184, 40, 108);
/* oklch */ color: oklch(52.8% 0.187 357.4);
Tailwind
colors: {
  custom: {
    50: '#d37196',
    500: '#b8286c',
    950: '#000000',
  },
}
SCSS
$custom: #b8286c;
$custom-light: #d37196;
$custom-dark: #000000;
JSON
{
  "hex": "#b8286c",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 331.667,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.18682,
    "h": 357.4
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#B8286C
secondary
#72CAA0
accent
#E79941
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8286C

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

Preview Lab → · Contrast checker → · Palette generator →

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