#B3286C#B3286C

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

Color values

HEX#B3286C
RGBrgb(179, 40, 108)
HSLhsl(331, 63%, 43%)
HSVhsv(331, 78%, 70%)
CMYKcmyk(0%, 77.7%, 39.7%, 29.8%)
CIE-LABlab(41.51, 59.37, -4.99)
CIE-LCHlch(41.51, 59.58, 355.20°)
OKLaboklab(51.99% 0.1825 -0.0124)
OKLCHoklch(51.99% 0.183 356.1)
XYZxyz(22.0575, 12.1868, 15.3752)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3286C #28B36F
analogous
#B328B2 #B3286C #B32928
triadic
#B3286C #6CB328 #286CB3
tetradic
#B3286C #B2B328 #28B36F #2928B3
square
#B3286C #B2B328 #28B36F #2928B3
split-complementary
#B3286C #28B329 #28B2B3
monochromatic
#4F1230 #811D4E #B3286C #D5438B #E075AA

Accessibility & contrast

On white

6.11
#B3286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B3286C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3286C
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3286C#FFFFFF#000000##FFFFFF
##B3286C1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516E
Deuteranopia (green-blind)
#6C6B69
Tritanopia (blue-blind)
#C21347
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b3286c;
/* rgb */ color: rgb(179, 40, 108);
/* oklch */ color: oklch(52.0% 0.183 356.1);
Tailwind
colors: {
  custom: {
    50: '#cf7096',
    500: '#b3286c',
    950: '#000000',
  },
}
SCSS
$custom: #b3286c;
$custom-light: #cf7096;
$custom-dark: #000000;
JSON
{
  "hex": "#b3286c",
  "rgb": {
    "r": 179,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 330.647,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.18292,
    "h": 356.1
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#B3286C
secondary
#6FC89C
accent
#E69641
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B3286C

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

Preview Lab → · Contrast checker → · Palette generator →

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