#B03498#B03498

#B03498 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.192 H 336.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B03498
RGBrgb(176, 52, 152)
HSLhsl(312, 54%, 45%)
HSVhsv(312, 70%, 69%)
CMYKcmyk(0%, 70.5%, 13.6%, 31%)
CIE-LABlab(44.17, 60.16, -27.96)
CIE-LCHlch(44.17, 66.33, 335.07°)
OKLaboklab(54.41% 0.1768 -0.076)
OKLCHoklch(54.41% 0.192 336.7)
XYZxyz(24.8004, 13.9553, 31.0872)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03498 #34B04C
analogous
#8A34B0 #B03498 #B0345A
triadic
#B03498 #98B034 #3498B0
tetradic
#B03498 #B08A34 #34B04C #345AB0
square
#B03498 #B08A34 #34B04C #345AB0
split-complementary
#B03498 #5AB034 #34B08A
monochromatic
#521846 #81266F #B03498 #CD55B5 #DB84CA

Accessibility & contrast

On white

5.54
#B03498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B03498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03498
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03498#FFFFFF#000000##FFFFFF
##B034981.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#606F95
Tritanopia (blue-blind)
#B93B62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b03498;
/* rgb */ color: rgb(176, 52, 152);
/* oklch */ color: oklch(54.4% 0.192 336.7);
Tailwind
colors: {
  custom: {
    50: '#cb76b6',
    500: '#b03498',
    950: '#000000',
  },
}
SCSS
$custom: #b03498;
$custom-light: #cb76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b03498",
  "rgb": {
    "r": 176,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 311.613,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54406,
    "c": 0.19241,
    "h": 336.7
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#B03498
secondary
#7CC48A
accent
#DE674A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #B03498

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

Preview Lab → · Contrast checker → · Palette generator →

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