#B8309D#B8309D

#B8309D is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.5% C 0.205 H 337.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B8309D
RGBrgb(184, 48, 157)
HSLhsl(312, 59%, 45%)
HSVhsv(312, 74%, 72%)
CMYKcmyk(0%, 73.9%, 14.7%, 27.8%)
CIE-LABlab(45.28, 64.19, -29.12)
CIE-LCHlch(45.28, 70.49, 335.60°)
OKLaboklab(55.54% 0.1894 -0.0792)
OKLCHoklch(55.54% 0.205 337.3)
XYZxyz(26.9104, 14.7411, 33.3198)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8309D #30B84B
analogous
#8F30B8 #B8309D #B83059
triadic
#B8309D #9DB830 #309DB8
tetradic
#B8309D #B88F30 #30B84B #3059B8
square
#B8309D #B88F30 #30B84B #3059B8
split-complementary
#B8309D #59B830 #30B88F
monochromatic
#57174A #872374 #B8309D #D253B9 #DF84CD

Accessibility & contrast

On white

5.32
#B8309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B8309D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8309D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8309D#FFFFFF#000000##FFFFFF
##B8309D1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA0
Deuteranopia (green-blind)
#63739A
Tritanopia (blue-blind)
#C23863
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8309d;
/* rgb */ color: rgb(184, 48, 157);
/* oklch */ color: oklch(55.5% 0.205 337.3);
Tailwind
colors: {
  custom: {
    50: '#d176ba',
    500: '#b8309d',
    950: '#000000',
  },
}
SCSS
$custom: #b8309d;
$custom-light: #d176ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b8309d",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 311.912,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55543,
    "c": 0.20524,
    "h": 337.3
  },
  "luminance": 0.14739
}

Semantic roles & 50–950 ramp

primary
#B8309D
secondary
#7CC88B
accent
#E26546
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B8309D

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

Preview Lab → · Contrast checker → · Palette generator →

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