#B8306F#B8306F

#B8306F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.180 H 357.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B8306F
RGBrgb(184, 48, 111)
HSLhsl(332, 59%, 45%)
HSVhsv(332, 74%, 72%)
CMYKcmyk(0%, 73.9%, 39.7%, 27.8%)
CIE-LABlab(43.44, 58.47, -3.90)
CIE-LCHlch(43.44, 58.60, 356.19°)
OKLaboklab(53.61% 0.1795 -0.0095)
OKLCHoklch(53.61% 0.18 357)
XYZxyz(23.6950, 13.4549, 16.3851)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8306F #30B879
analogous
#B830B3 #B8306F #B83530
triadic
#B8306F #6FB830 #306FB8
tetradic
#B8306F #B3B830 #30B879 #3530B8
square
#B8306F #B3B830 #30B879 #3530B8
split-complementary
#B8306F #30B835 #30B3B8
monochromatic
#571734 #872352 #B8306F #D2538E #DF84AE

Accessibility & contrast

On white

5.69
#B8306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B8306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8306F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8306F#FFFFFF#000000##FFFFFF
##B8306F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5671
Deuteranopia (green-blind)
#71706C
Tritanopia (blue-blind)
#C71F4B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b8306f;
/* rgb */ color: rgb(184, 48, 111);
/* oklch */ color: oklch(53.6% 0.180 357.0);
Tailwind
colors: {
  custom: {
    50: '#d27498',
    500: '#b8306f',
    950: '#000000',
  },
}
SCSS
$custom: #b8306f;
$custom-light: #d27498;
$custom-dark: #000000;
JSON
{
  "hex": "#b8306f",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 332.206,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.17977,
    "h": 357
  },
  "luminance": 0.13452
}

Semantic roles & 50–950 ramp

primary
#B8306F
secondary
#7CC8A5
accent
#E29A46
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8306F

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

Preview Lab → · Contrast checker → · Palette generator →

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