#B0308F#B0308F

#B0308F is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.191 H 340.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B0308F
RGBrgb(176, 48, 143)
HSLhsl(315, 57%, 44%)
HSVhsv(315, 73%, 69%)
CMYKcmyk(0%, 72.7%, 18.7%, 31%)
CIE-LABlab(43.26, 60.27, -23.94)
CIE-LCHlch(43.26, 64.85, 338.33°)
OKLaboklab(53.61% 0.1798 -0.0646)
OKLCHoklch(53.61% 0.191 340.2)
XYZxyz(23.9200, 13.3295, 27.2944)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0308F #30B051
analogous
#9130B0 #B0308F #B0304F
triadic
#B0308F #8FB030 #308FB0
tetradic
#B0308F #B09130 #30B051 #304FB0
square
#B0308F #B09130 #30B051 #304FB0
split-complementary
#B0308F #4FB030 #30B091
monochromatic
#501641 #802368 #B0308F #CF4EAE #DC7EC4

Accessibility & contrast

On white

5.73
#B0308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B0308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0308F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0308F#FFFFFF#000000##FFFFFF
##B0308F1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395992
Deuteranopia (green-blind)
#626E8C
Tritanopia (blue-blind)
#BA345C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0308f;
/* rgb */ color: rgb(176, 48, 143);
/* oklch */ color: oklch(53.6% 0.191 340.2);
Tailwind
colors: {
  custom: {
    50: '#cb74b0',
    500: '#b0308f',
    950: '#000000',
  },
}
SCSS
$custom: #b0308f;
$custom-light: #cb74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b0308f",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 315.469,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.19101,
    "h": 340.2
  },
  "luminance": 0.13327
}

Semantic roles & 50–950 ramp

primary
#B0308F
secondary
#77C58B
accent
#E06F47
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0308F

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

Preview Lab → · Contrast checker → · Palette generator →

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