#B3286B#B3286B

#B3286B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.183 H 356.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B3286B
RGBrgb(179, 40, 107)
HSLhsl(331, 63%, 43%)
HSVhsv(331, 78%, 70%)
CMYKcmyk(0%, 77.7%, 40.2%, 29.8%)
CIE-LABlab(41.48, 59.27, -4.41)
CIE-LCHlch(41.48, 59.43, 355.74°)
OKLaboklab(51.96% 0.1822 -0.0109)
OKLCHoklch(51.96% 0.183 356.6)
XYZxyz(22.0046, 12.1656, 15.0965)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3286B #28B370
analogous
#B328B0 #B3286B #B32A28
triadic
#B3286B #6BB328 #286BB3
tetradic
#B3286B #B0B328 #28B370 #2A28B3
square
#B3286B #B0B328 #28B370 #2A28B3
split-complementary
#B3286B #28B32A #28B0B3
monochromatic
#4F122F #811D4D #B3286B #D54389 #E075A9

Accessibility & contrast

On white

6.12
#B3286B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B3286B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3286B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3286B#FFFFFF#000000##FFFFFF
##B3286B1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46516D
Deuteranopia (green-blind)
#6C6B68
Tritanopia (blue-blind)
#C21246
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b3286b;
/* rgb */ color: rgb(179, 40, 107);
/* oklch */ color: oklch(52.0% 0.183 356.6);
Tailwind
colors: {
  custom: {
    50: '#cf7095',
    500: '#b3286b',
    950: '#000000',
  },
}
SCSS
$custom: #b3286b;
$custom-light: #cf7095;
$custom-dark: #000000;
JSON
{
  "hex": "#b3286b",
  "rgb": {
    "r": 179,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 331.079,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.18252,
    "h": 356.6
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#B3286B
secondary
#6FC89D
accent
#E69741
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B3286B

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

Preview Lab → · Contrast checker → · Palette generator →

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