#B3288B#B3288B

#B3288B is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.3% C 0.199 H 342.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B3288B
RGBrgb(179, 40, 139)
HSLhsl(317, 63%, 43%)
HSVhsv(317, 78%, 70%)
CMYKcmyk(0%, 77.7%, 22.3%, 29.8%)
CIE-LABlab(42.71, 62.99, -22.30)
CIE-LCHlch(42.71, 66.83, 340.50°)
OKLaboklab(53.26% 0.1897 -0.0598)
OKLCHoklch(53.26% 0.199 342.5)
XYZxyz(24.0103, 12.9679, 25.6597)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3288B #28B350
analogous
#9528B3 #B3288B #B32846
triadic
#B3288B #8BB328 #288BB3
tetradic
#B3288B #B39528 #28B350 #2846B3
square
#B3288B #B39528 #28B350 #2846B3
split-complementary
#B3288B #46B328 #28B395
monochromatic
#4F123D #811D64 #B3288B #D543AB #E075C1

Accessibility & contrast

On white

5.84
#B3288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3288B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3288B#FFFFFF#000000##FFFFFF
##B3288B1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568E
Deuteranopia (green-blind)
#636D88
Tritanopia (blue-blind)
#BF2957
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3288b;
/* rgb */ color: rgb(179, 40, 139);
/* oklch */ color: oklch(53.3% 0.199 342.5);
Tailwind
colors: {
  custom: {
    50: '#ce71ad',
    500: '#b3288b',
    950: '#000000',
  },
}
SCSS
$custom: #b3288b;
$custom-light: #ce71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3288b",
  "rgb": {
    "r": 179,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 317.266,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.19891,
    "h": 342.5
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3288B

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

Preview Lab → · Contrast checker → · Palette generator →

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