#B4286E#B4286E

#B4286E is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.185 H 355.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B4286E
RGBrgb(180, 40, 110)
HSLhsl(330, 64%, 43%)
HSVhsv(330, 78%, 71%)
CMYKcmyk(0%, 77.8%, 38.9%, 29.4%)
CIE-LABlab(41.77, 59.84, -5.84)
CIE-LCHlch(41.77, 60.12, 354.43°)
OKLaboklab(52.23% 0.1839 -0.0146)
OKLCHoklch(52.23% 0.185 355.5)
XYZxyz(22.3972, 12.3495, 15.9531)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4286E #28B46E
analogous
#B428B4 #B4286E #B42828
triadic
#B4286E #6EB428 #286EB4
tetradic
#B4286E #B4B428 #28B46E #2828B4
square
#B4286E #B4B428 #28B46E #2828B4
split-complementary
#B4286E #28B428 #28B4B4
monochromatic
#501231 #821D4F #B4286E #D5448D #E176AB

Accessibility & contrast

On white

6.05
#B4286E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B4286E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4286E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4286E#FFFFFF#000000##FFFFFF
##B4286E1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455270
Deuteranopia (green-blind)
#6C6C6B
Tritanopia (blue-blind)
#C31448
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b4286e;
/* rgb */ color: rgb(180, 40, 110);
/* oklch */ color: oklch(52.2% 0.185 355.5);
Tailwind
colors: {
  custom: {
    50: '#d07097',
    500: '#b4286e',
    950: '#000000',
  },
}
SCSS
$custom: #b4286e;
$custom-light: #d07097;
$custom-dark: #000000;
JSON
{
  "hex": "#b4286e",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 330,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.18451,
    "h": 355.5
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#B4286E
secondary
#70C89C
accent
#E79441
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4286E

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

Preview Lab → · Contrast checker → · Palette generator →

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