#B8286F#B8286F

#B8286F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.188 H 356.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B8286F
RGBrgb(184, 40, 111)
HSLhsl(330, 64%, 44%)
HSVhsv(330, 78%, 72%)
CMYKcmyk(0%, 78.3%, 39.7%, 27.8%)
CIE-LABlab(42.55, 60.99, -5.22)
CIE-LCHlch(42.55, 61.21, 355.11°)
OKLaboklab(52.95% 0.1875 -0.013)
OKLCHoklch(52.95% 0.188 356)
XYZxyz(23.3969, 12.8586, 16.2857)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8286F #28B871
analogous
#B828B7 #B8286F #B82928
triadic
#B8286F #6FB828 #286FB8
tetradic
#B8286F #B7B828 #28B871 #2928B8
square
#B8286F #B7B828 #28B871 #2928B8
split-complementary
#B8286F #28B829 #28B7B8
monochromatic
#531232 #861D51 #B8286F #D7468E #E279AC

Accessibility & contrast

On white

5.88
#B8286F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8286F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8286F#FFFFFF#000000##FFFFFF
##B8286F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475371
Deuteranopia (green-blind)
#6F6E6C
Tritanopia (blue-blind)
#C71148
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8286f;
/* rgb */ color: rgb(184, 40, 111);
/* oklch */ color: oklch(53.0% 0.188 356.0);
Tailwind
colors: {
  custom: {
    50: '#d37198',
    500: '#b8286f',
    950: '#000000',
  },
}
SCSS
$custom: #b8286f;
$custom-light: #d37198;
$custom-dark: #000000;
JSON
{
  "hex": "#b8286f",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 330.417,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52953,
    "c": 0.18799,
    "h": 356
  },
  "luminance": 0.12856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8286F

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

Preview Lab → · Contrast checker → · Palette generator →

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