#B3308A#B3308A

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

Color values

HEX#B3308A
RGBrgb(179, 48, 138)
HSLhsl(319, 58%, 45%)
HSVhsv(319, 73%, 70%)
CMYKcmyk(0%, 73.2%, 22.9%, 29.8%)
CIE-LABlab(43.56, 60.34, -20.39)
CIE-LCHlch(43.56, 63.69, 341.33°)
OKLaboklab(53.86% 0.1818 -0.0545)
OKLCHoklch(53.86% 0.19 343.3)
XYZxyz(24.2357, 13.5351, 25.3760)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3308A #30B359
analogous
#9B30B3 #B3308A #B33048
triadic
#B3308A #8AB330 #308AB3
tetradic
#B3308A #B39B30 #30B359 #3048B3
square
#B3308A #B39B30 #30B359 #3048B3
split-complementary
#B3308A #48B330 #30B39B
monochromatic
#521640 #832365 #B3308A #D050A8 #DD80C0

Accessibility & contrast

On white

5.67
#B3308A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3308A
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3308A#FFFFFF#000000##FFFFFF
##B3308A1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#BF3059
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3308a;
/* rgb */ color: rgb(179, 48, 138);
/* oklch */ color: oklch(53.9% 0.190 343.3);
Tailwind
colors: {
  custom: {
    50: '#ce75ac',
    500: '#b3308a',
    950: '#000000',
  },
}
SCSS
$custom: #b3308a;
$custom-light: #ce75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b3308a",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 318.779,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53856,
    "c": 0.18979,
    "h": 343.3
  },
  "luminance": 0.13533
}

Semantic roles & 50–950 ramp

primary
#B3308A
secondary
#79C691
accent
#E17747
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3308A

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

Preview Lab → · Contrast checker → · Palette generator →

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