#B3308E#B3308E

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

Color values

HEX#B3308E
RGBrgb(179, 48, 142)
HSLhsl(317, 58%, 45%)
HSVhsv(317, 73%, 70%)
CMYKcmyk(0%, 73.2%, 20.7%, 29.8%)
CIE-LABlab(43.73, 60.88, -22.56)
CIE-LCHlch(43.73, 64.92, 339.67°)
OKLaboklab(54.04% 0.1825 -0.0606)
OKLCHoklch(54.04% 0.192 341.6)
XYZxyz(24.5306, 13.6531, 26.9294)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3308E #30B355
analogous
#9730B3 #B3308E #B3304C
triadic
#B3308E #8EB330 #308EB3
tetradic
#B3308E #B39730 #30B355 #304CB3
square
#B3308E #B39730 #30B355 #304CB3
split-complementary
#B3308E #4CB330 #30B397
monochromatic
#521641 #832368 #B3308E #D050AC #DD80C3

Accessibility & contrast

On white

5.63
#B3308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B3308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3308E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3308E#FFFFFF#000000##FFFFFF
##B3308E1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3308e;
/* rgb */ color: rgb(179, 48, 142);
/* oklch */ color: oklch(54.0% 0.192 341.6);
Tailwind
colors: {
  custom: {
    50: '#ce75af',
    500: '#b3308e',
    950: '#000000',
  },
}
SCSS
$custom: #b3308e;
$custom-light: #ce75af;
$custom-dark: #000000;
JSON
{
  "hex": "#b3308e",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 316.947,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54038,
    "c": 0.19229,
    "h": 341.6
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3308E

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

Preview Lab → · Contrast checker → · Palette generator →

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