#B4286F#B4286F

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

Color values

HEX#B4286F
RGBrgb(180, 40, 111)
HSLhsl(330, 64%, 43%)
HSVhsv(330, 78%, 71%)
CMYKcmyk(0%, 77.8%, 38.3%, 29.4%)
CIE-LABlab(41.80, 59.94, -6.41)
CIE-LCHlch(41.80, 60.29, 353.89°)
OKLaboklab(52.27% 0.1842 -0.0162)
OKLCHoklch(52.27% 0.185 355)
XYZxyz(22.4520, 12.3714, 16.2414)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4286F #28B46D
analogous
#B328B4 #B4286F #B42829
triadic
#B4286F #6FB428 #286FB4
tetradic
#B4286F #B4B328 #28B46D #2829B4
square
#B4286F #B4B328 #28B46D #2829B4
split-complementary
#B4286F #29B428 #28B4B3
monochromatic
#501231 #821D50 #B4286F #D5448E #E176AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4286F#FFFFFF#000000##FFFFFF
##B4286F1.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)
#455271
Deuteranopia (green-blind)
#6C6C6C
Tritanopia (blue-blind)
#C31548
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b4286f;
/* rgb */ color: rgb(180, 40, 111);
/* oklch */ color: oklch(52.3% 0.185 355.0);
Tailwind
colors: {
  custom: {
    50: '#d07198',
    500: '#b4286f',
    950: '#000000',
  },
}
SCSS
$custom: #b4286f;
$custom-light: #d07198;
$custom-dark: #000000;
JSON
{
  "hex": "#b4286f",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 329.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.18494,
    "h": 355
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#B4286F
secondary
#70C89B
accent
#E79341
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4286F

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

Preview Lab → · Contrast checker → · Palette generator →

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