#B8308E#B8308E

#B8308E is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.196 H 343.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B8308E
RGBrgb(184, 48, 142)
HSLhsl(319, 59%, 45%)
HSVhsv(319, 74%, 72%)
CMYKcmyk(0%, 73.9%, 22.8%, 27.8%)
CIE-LABlab(44.60, 62.13, -21.14)
CIE-LCHlch(44.60, 65.63, 341.21°)
OKLaboklab(54.84% 0.1872 -0.0566)
OKLCHoklch(54.84% 0.196 343.2)
XYZxyz(25.7075, 14.2599, 26.9845)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8308E #30B85A
analogous
#9E30B8 #B8308E #B8304A
triadic
#B8308E #8EB830 #308EB8
tetradic
#B8308E #B89E30 #30B85A #304AB8
square
#B8308E #B89E30 #30B85A #304AB8
split-complementary
#B8308E #4AB830 #30B89E
monochromatic
#571743 #872369 #B8308E #D253AB #DF84C3

Accessibility & contrast

On white

5.45
#B8308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8308E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8308E#FFFFFF#000000##FFFFFF
##B8308E1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#68728B
Tritanopia (blue-blind)
#C4305B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8308e;
/* rgb */ color: rgb(184, 48, 142);
/* oklch */ color: oklch(54.8% 0.196 343.2);
Tailwind
colors: {
  custom: {
    50: '#d175af',
    500: '#b8308e',
    950: '#000000',
  },
}
SCSS
$custom: #b8308e;
$custom-light: #d175af;
$custom-dark: #000000;
JSON
{
  "hex": "#b8308e",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 318.529,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.19555,
    "h": 343.2
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#B8308E
secondary
#7CC893
accent
#E27646
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B8308E

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

Preview Lab → · Contrast checker → · Palette generator →

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