#B3308B#B3308B

#B3308B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.190 H 342.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B3308B
RGBrgb(179, 48, 139)
HSLhsl(318, 58%, 45%)
HSVhsv(318, 73%, 70%)
CMYKcmyk(0%, 73.2%, 22.3%, 29.8%)
CIE-LABlab(43.60, 60.48, -20.93)
CIE-LCHlch(43.60, 64.00, 340.91°)
OKLaboklab(53.9% 0.182 -0.0561)
OKLCHoklch(53.9% 0.19 342.9)
XYZxyz(24.3084, 13.5642, 25.7591)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3308B #30B358
analogous
#9A30B3 #B3308B #B33049
triadic
#B3308B #8BB330 #308BB3
tetradic
#B3308B #B39A30 #30B358 #3049B3
square
#B3308B #B39A30 #30B358 #3049B3
split-complementary
#B3308B #49B330 #30B39A
monochromatic
#521640 #832366 #B3308B #D050A9 #DD80C1

Accessibility & contrast

On white

5.66
#B3308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B3308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3308B
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3308B#FFFFFF#000000##FFFFFF
##B3308B1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598E
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#BE3159
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3308b;
/* rgb */ color: rgb(179, 48, 139);
/* oklch */ color: oklch(53.9% 0.190 342.9);
Tailwind
colors: {
  custom: {
    50: '#ce75ad',
    500: '#b3308b',
    950: '#000000',
  },
}
SCSS
$custom: #b3308b;
$custom-light: #ce75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3308b",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 318.321,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.1904,
    "h": 342.9
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#B3308B
secondary
#79C690
accent
#E17647
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3308B

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

Preview Lab → · Contrast checker → · Palette generator →

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