#B0308A#B0308A

#B0308A is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.188 H 342.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B0308A
RGBrgb(176, 48, 138)
HSLhsl(318, 57%, 44%)
HSVhsv(318, 73%, 69%)
CMYKcmyk(0%, 72.7%, 21.6%, 31%)
CIE-LABlab(43.04, 59.58, -21.24)
CIE-LCHlch(43.04, 63.25, 340.38°)
OKLaboklab(53.38% 0.1789 -0.057)
OKLCHoklch(53.38% 0.188 342.3)
XYZxyz(23.5497, 13.1814, 25.3439)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0308A #30B056
analogous
#9630B0 #B0308A #B0304A
triadic
#B0308A #8AB030 #308AB0
tetradic
#B0308A #B09630 #30B056 #304AB0
square
#B0308A #B09630 #30B056 #304AB0
split-complementary
#B0308A #4AB030 #30B096
monochromatic
#50163F #802364 #B0308A #CF4EA9 #DC7EC0

Accessibility & contrast

On white

5.78
#B0308A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B0308A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0308A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0308A#FFFFFF#000000##FFFFFF
##B0308A1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#646D87
Tritanopia (blue-blind)
#BB3159
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0308a;
/* rgb */ color: rgb(176, 48, 138);
/* oklch */ color: oklch(53.4% 0.188 342.3);
Tailwind
colors: {
  custom: {
    50: '#cb74ac',
    500: '#b0308a',
    950: '#000000',
  },
}
SCSS
$custom: #b0308a;
$custom-light: #cb74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b0308a",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 317.813,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.18779,
    "h": 342.3
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#B0308A
secondary
#77C58E
accent
#E07547
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0308A

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

Preview Lab → · Contrast checker → · Palette generator →

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