#B3308C#B3308C

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

Color values

HEX#B3308C
RGBrgb(179, 48, 140)
HSLhsl(318, 58%, 45%)
HSVhsv(318, 73%, 70%)
CMYKcmyk(0%, 73.2%, 21.8%, 29.8%)
CIE-LABlab(43.64, 60.61, -21.48)
CIE-LCHlch(43.64, 64.30, 340.49°)
OKLaboklab(53.95% 0.1821 -0.0576)
OKLCHoklch(53.95% 0.191 342.5)
XYZxyz(24.3818, 13.5935, 26.1456)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3308C #30B357
analogous
#9930B3 #B3308C #B3304A
triadic
#B3308C #8CB330 #308CB3
tetradic
#B3308C #B39930 #30B357 #304AB3
square
#B3308C #B39930 #30B357 #304AB3
split-complementary
#B3308C #4AB330 #30B399
monochromatic
#521641 #832366 #B3308C #D050AA #DD80C1

Accessibility & contrast

On white

5.65
#B3308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3308C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3308C#FFFFFF#000000##FFFFFF
##B3308C1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598F
Deuteranopia (green-blind)
#656F89
Tritanopia (blue-blind)
#BE315A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3308c;
/* rgb */ color: rgb(179, 48, 140);
/* oklch */ color: oklch(53.9% 0.191 342.5);
Tailwind
colors: {
  custom: {
    50: '#ce75ad',
    500: '#b3308c',
    950: '#000000',
  },
}
SCSS
$custom: #b3308c;
$custom-light: #ce75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3308c",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 317.863,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.19102,
    "h": 342.5
  },
  "luminance": 0.13591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3308C

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

Preview Lab → · Contrast checker → · Palette generator →

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