#B0308B#B0308B

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

Color values

HEX#B0308B
RGBrgb(176, 48, 139)
HSLhsl(317, 57%, 44%)
HSVhsv(317, 73%, 69%)
CMYKcmyk(0%, 72.7%, 21%, 31%)
CIE-LABlab(43.08, 59.71, -21.78)
CIE-LCHlch(43.08, 63.56, 339.96°)
OKLaboklab(53.42% 0.1791 -0.0585)
OKLCHoklch(53.42% 0.188 341.9)
XYZxyz(23.6224, 13.2105, 25.7269)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0308B #30B055
analogous
#9530B0 #B0308B #B0304B
triadic
#B0308B #8BB030 #308BB0
tetradic
#B0308B #B09530 #30B055 #304BB0
square
#B0308B #B09530 #30B055 #304BB0
split-complementary
#B0308B #4BB030 #30B095
monochromatic
#50163F #802365 #B0308B #CF4EAA #DC7EC1

Accessibility & contrast

On white

5.77
#B0308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0308B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0308B#FFFFFF#000000##FFFFFF
##B0308B1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588E
Deuteranopia (green-blind)
#636D88
Tritanopia (blue-blind)
#BB3259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0308b;
/* rgb */ color: rgb(176, 48, 139);
/* oklch */ color: oklch(53.4% 0.188 341.9);
Tailwind
colors: {
  custom: {
    50: '#cb74ad',
    500: '#b0308b',
    950: '#000000',
  },
}
SCSS
$custom: #b0308b;
$custom-light: #cb74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b0308b",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 317.344,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53423,
    "c": 0.18842,
    "h": 341.9
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0308B

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

Preview Lab → · Contrast checker → · Palette generator →

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