#B03398#B03398

#B03398 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.194 H 336.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B03398
RGBrgb(176, 51, 152)
HSLhsl(312, 55%, 45%)
HSVhsv(312, 71%, 69%)
CMYKcmyk(0%, 71%, 13.6%, 31%)
CIE-LABlab(44.04, 60.51, -28.15)
CIE-LCHlch(44.04, 66.74, 335.05°)
OKLaboklab(54.31% 0.1778 -0.0766)
OKLCHoklch(54.31% 0.194 336.7)
XYZxyz(24.7562, 13.8670, 31.0724)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03398 #33B04B
analogous
#8A33B0 #B03398 #B0335A
triadic
#B03398 #98B033 #3398B0
tetradic
#B03398 #B08A33 #33B04B #335AB0
square
#B03398 #B08A33 #33B04B #335AB0
split-complementary
#B03398 #5AB033 #33B08A
monochromatic
#511846 #81256F #B03398 #CD53B6 #DB82CA

Accessibility & contrast

On white

5.57
#B03398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B03398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03398
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03398#FFFFFF#000000##FFFFFF
##B033981.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b03398;
/* rgb */ color: rgb(176, 51, 152);
/* oklch */ color: oklch(54.3% 0.194 336.7);
Tailwind
colors: {
  custom: {
    50: '#cb76b6',
    500: '#b03398',
    950: '#000000',
  },
}
SCSS
$custom: #b03398;
$custom-light: #cb76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b03398",
  "rgb": {
    "r": 176,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 311.52,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.19361,
    "h": 336.7
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#B03398
secondary
#7BC489
accent
#DE6649
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #B03398

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

Preview Lab → · Contrast checker → · Palette generator →

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