#B3308D#B3308D

#B3308D is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.192 H 342.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B3308D
RGBrgb(179, 48, 141)
HSLhsl(317, 58%, 45%)
HSVhsv(317, 73%, 70%)
CMYKcmyk(0%, 73.2%, 21.2%, 29.8%)
CIE-LABlab(43.69, 60.74, -22.02)
CIE-LCHlch(43.69, 64.61, 340.08°)
OKLaboklab(53.99% 0.1823 -0.0591)
OKLCHoklch(53.99% 0.192 342)
XYZxyz(24.4559, 13.6232, 26.5357)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3308D #30B356
analogous
#9830B3 #B3308D #B3304B
triadic
#B3308D #8DB330 #308DB3
tetradic
#B3308D #B39830 #30B356 #304BB3
square
#B3308D #B39830 #30B356 #304BB3
split-complementary
#B3308D #4BB330 #30B398
monochromatic
#521641 #832367 #B3308D #D050AB #DD80C2

Accessibility & contrast

On white

5.64
#B3308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B3308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3308D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3308D#FFFFFF#000000##FFFFFF
##B3308D1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#BE325B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3308d;
/* rgb */ color: rgb(179, 48, 141);
/* oklch */ color: oklch(54.0% 0.192 342.0);
Tailwind
colors: {
  custom: {
    50: '#ce75ae',
    500: '#b3308d',
    950: '#000000',
  },
}
SCSS
$custom: #b3308d;
$custom-light: #ce75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3308d",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 317.405,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.19165,
    "h": 342
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#B3308D
secondary
#79C68F
accent
#E17447
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3308D

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

Preview Lab → · Contrast checker → · Palette generator →

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