#B8308D#B8308D

#B8308D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.8% C 0.195 H 343.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B8308D
RGBrgb(184, 48, 141)
HSLhsl(319, 59%, 45%)
HSVhsv(319, 74%, 72%)
CMYKcmyk(0%, 73.9%, 23.4%, 27.8%)
CIE-LABlab(44.56, 62.00, -20.60)
CIE-LCHlch(44.56, 65.33, 341.62°)
OKLaboklab(54.79% 0.187 -0.055)
OKLCHoklch(54.79% 0.195 343.6)
XYZxyz(25.6328, 14.2300, 26.5909)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8308D #30B85B
analogous
#9F30B8 #B8308D #B83049
triadic
#B8308D #8DB830 #308DB8
tetradic
#B8308D #B89F30 #30B85B #3049B8
square
#B8308D #B89F30 #30B85B #3049B8
split-complementary
#B8308D #49B830 #30B89F
monochromatic
#571743 #872368 #B8308D #D253AA #DF84C2

Accessibility & contrast

On white

5.46
#B8308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B8308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8308D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8308D#FFFFFF#000000##FFFFFF
##B8308D1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#69728A
Tritanopia (blue-blind)
#C4305B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8308d;
/* rgb */ color: rgb(184, 48, 141);
/* oklch */ color: oklch(54.8% 0.195 343.6);
Tailwind
colors: {
  custom: {
    50: '#d175ae',
    500: '#b8308d',
    950: '#000000',
  },
}
SCSS
$custom: #b8308d;
$custom-light: #d175ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b8308d",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 318.971,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.19494,
    "h": 343.6
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#B8308D
secondary
#7CC894
accent
#E27746
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B8308D

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

Preview Lab → · Contrast checker → · Palette generator →

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