#B8309F#B8309F

#B8309F is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.207 H 336.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B8309F
RGBrgb(184, 48, 159)
HSLhsl(311, 59%, 45%)
HSVhsv(311, 74%, 72%)
CMYKcmyk(0%, 73.9%, 13.6%, 27.8%)
CIE-LABlab(45.37, 64.48, -30.17)
CIE-LCHlch(45.37, 71.19, 334.92°)
OKLaboklab(55.64% 0.1896 -0.0822)
OKLCHoklch(55.64% 0.207 336.6)
XYZxyz(27.0826, 14.8099, 34.2264)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8309F #30B849
analogous
#8D30B8 #B8309F #B8305B
triadic
#B8309F #9FB830 #309FB8
tetradic
#B8309F #B88D30 #30B849 #305BB8
square
#B8309F #B88D30 #30B849 #305BB8
split-complementary
#B8309F #5BB830 #30B88D
monochromatic
#57174B #872375 #B8309F #D253BB #DF84CE

Accessibility & contrast

On white

5.30
#B8309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B8309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8309F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8309F#FFFFFF#000000##FFFFFF
##B8309F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#62739C
Tritanopia (blue-blind)
#C23964
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8309f;
/* rgb */ color: rgb(184, 48, 159);
/* oklch */ color: oklch(55.6% 0.207 336.6);
Tailwind
colors: {
  custom: {
    50: '#d176bb',
    500: '#b8309f',
    950: '#000000',
  },
}
SCSS
$custom: #b8309f;
$custom-light: #d176bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8309f",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 311.029,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.2066,
    "h": 336.6
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#B8309F
secondary
#7CC88A
accent
#E26346
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B8309F

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

Preview Lab → · Contrast checker → · Palette generator →

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