#B8308B#B8308B

#B8308B is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.194 H 344.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B8308B
RGBrgb(184, 48, 139)
HSLhsl(320, 59%, 45%)
HSVhsv(320, 74%, 72%)
CMYKcmyk(0%, 73.9%, 24.5%, 27.8%)
CIE-LABlab(44.48, 61.74, -19.51)
CIE-LCHlch(44.48, 64.75, 342.46°)
OKLaboklab(54.7% 0.1866 -0.052)
OKLCHoklch(54.7% 0.194 344.4)
XYZxyz(25.4853, 14.1710, 25.8142)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8308B #30B85D
analogous
#A130B8 #B8308B #B83047
triadic
#B8308B #8BB830 #308BB8
tetradic
#B8308B #B8A130 #30B85D #3047B8
square
#B8308B #B8A130 #30B85D #3047B8
split-complementary
#B8308B #47B830 #30B8A1
monochromatic
#571742 #872366 #B8308B #D253A8 #DF84C1

Accessibility & contrast

On white

5.48
#B8308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B8308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8308B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8308B#FFFFFF#000000##FFFFFF
##B8308B1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8D
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#C42F5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8308b;
/* rgb */ color: rgb(184, 48, 139);
/* oklch */ color: oklch(54.7% 0.194 344.4);
Tailwind
colors: {
  custom: {
    50: '#d175ad',
    500: '#b8308b',
    950: '#000000',
  },
}
SCSS
$custom: #b8308b;
$custom-light: #d175ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b8308b",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 319.853,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.19375,
    "h": 344.4
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#B8308B
secondary
#7CC895
accent
#E27A46
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B8308B

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

Preview Lab → · Contrast checker → · Palette generator →

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