#B3308F#B3308F

#B3308F is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.193 H 341.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B3308F
RGBrgb(179, 48, 143)
HSLhsl(316, 58%, 45%)
HSVhsv(316, 73%, 70%)
CMYKcmyk(0%, 73.2%, 20.1%, 29.8%)
CIE-LABlab(43.78, 61.02, -23.09)
CIE-LCHlch(43.78, 65.24, 339.27°)
OKLaboklab(54.08% 0.1826 -0.0621)
OKLCHoklch(54.08% 0.193 341.2)
XYZxyz(24.6060, 13.6832, 27.3265)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3308F #30B354
analogous
#9630B3 #B3308F #B3304D
triadic
#B3308F #8FB330 #308FB3
tetradic
#B3308F #B39630 #30B354 #304DB3
square
#B3308F #B39630 #30B354 #304DB3
split-complementary
#B3308F #4DB330 #30B396
monochromatic
#521642 #832368 #B3308F #D050AD #DD80C4

Accessibility & contrast

On white

5.62
#B3308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B3308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3308F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3308F#FFFFFF#000000##FFFFFF
##B3308F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A92
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#BE335C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3308f;
/* rgb */ color: rgb(179, 48, 143);
/* oklch */ color: oklch(54.1% 0.193 341.2);
Tailwind
colors: {
  custom: {
    50: '#ce75b0',
    500: '#b3308f',
    950: '#000000',
  },
}
SCSS
$custom: #b3308f;
$custom-light: #ce75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b3308f",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 316.489,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54084,
    "c": 0.19292,
    "h": 341.2
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#B3308F
secondary
#79C68E
accent
#E17147
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3308F

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

Preview Lab → · Contrast checker → · Palette generator →

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