#B03899#B03899

#B03899 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.188 H 336.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B03899
RGBrgb(176, 56, 153)
HSLhsl(312, 52%, 45%)
HSVhsv(312, 68%, 69%)
CMYKcmyk(0%, 68.2%, 13.1%, 31%)
CIE-LABlab(44.75, 58.82, -27.66)
CIE-LCHlch(44.75, 65.00, 334.82°)
OKLaboklab(54.84% 0.1725 -0.0752)
OKLCHoklch(54.84% 0.188 336.4)
XYZxyz(25.0688, 14.3605, 31.5824)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03899 #38B04F
analogous
#8B38B0 #B03899 #B0385D
triadic
#B03899 #99B038 #3899B0
tetradic
#B03899 #B08B38 #38B04F #385DB0
square
#B03899 #B08B38 #38B04F #385DB0
split-complementary
#B03899 #5DB038 #38B08B
monochromatic
#531A48 #822971 #B03899 #CB5BB5 #D989CA

Accessibility & contrast

On white

5.42
#B03899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B03899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03899
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03899#FFFFFF#000000##FFFFFF
##B038991.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#627096
Tritanopia (blue-blind)
#B93F64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b03899;
/* rgb */ color: rgb(176, 56, 153);
/* oklch */ color: oklch(54.8% 0.188 336.4);
Tailwind
colors: {
  custom: {
    50: '#cb78b7',
    500: '#b03899',
    950: '#000000',
  },
}
SCSS
$custom: #b03899;
$custom-light: #cb78b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b03899",
  "rgb": {
    "r": 176,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 311.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.18814,
    "h": 336.4
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#B03899
secondary
#80C48D
accent
#DB684D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B03899

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

Preview Lab → · Contrast checker → · Palette generator →

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