#B3288A#B3288A

#B3288A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.2% C 0.198 H 342.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B3288A
RGBrgb(179, 40, 138)
HSLhsl(318, 63%, 43%)
HSVhsv(318, 78%, 70%)
CMYKcmyk(0%, 77.7%, 22.9%, 29.8%)
CIE-LABlab(42.67, 62.86, -21.76)
CIE-LCHlch(42.67, 66.52, 340.91°)
OKLaboklab(53.21% 0.1895 -0.0583)
OKLCHoklch(53.21% 0.198 342.9)
XYZxyz(23.9375, 12.9388, 25.2766)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3288A #28B351
analogous
#9628B3 #B3288A #B32844
triadic
#B3288A #8AB328 #288AB3
tetradic
#B3288A #B39628 #28B351 #2844B3
square
#B3288A #B39628 #28B351 #2844B3
split-complementary
#B3288A #44B328 #28B396
monochromatic
#4F123D #811D63 #B3288A #D543AA #E075C1

Accessibility & contrast

On white

5.85
#B3288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B3288A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3288A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3288A#FFFFFF#000000##FFFFFF
##B3288A1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568D
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#BF2956
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3288a;
/* rgb */ color: rgb(179, 40, 138);
/* oklch */ color: oklch(53.2% 0.198 342.9);
Tailwind
colors: {
  custom: {
    50: '#ce71ac',
    500: '#b3288a',
    950: '#000000',
  },
}
SCSS
$custom: #b3288a;
$custom-light: #ce71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b3288a",
  "rgb": {
    "r": 179,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 317.698,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.1983,
    "h": 342.9
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#B3288A
secondary
#6FC889
accent
#E67241
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3288A

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

Preview Lab → · Contrast checker → · Palette generator →

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