#B03198#B03198

#B03198 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.196 H 336.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B03198
RGBrgb(176, 49, 152)
HSLhsl(311, 56%, 44%)
HSVhsv(311, 72%, 69%)
CMYKcmyk(0%, 72.2%, 13.6%, 31%)
CIE-LABlab(43.79, 61.21, -28.54)
CIE-LCHlch(43.79, 67.54, 335.00°)
OKLaboklab(54.14% 0.1799 -0.0777)
OKLCHoklch(54.14% 0.196 336.6)
XYZxyz(24.6707, 13.6960, 31.0439)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03198 #31B049
analogous
#8931B0 #B03198 #B03159
triadic
#B03198 #98B031 #3198B0
tetradic
#B03198 #B08931 #31B049 #3159B0
square
#B03198 #B08931 #31B049 #3159B0
split-complementary
#B03198 #59B031 #31B089
monochromatic
#501645 #80246F #B03198 #CE50B6 #DC80CA

Accessibility & contrast

On white

5.62
#B03198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B03198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03198
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03198#FFFFFF#000000##FFFFFF
##B031981.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9B
Deuteranopia (green-blind)
#5F6E95
Tritanopia (blue-blind)
#B93961
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b03198;
/* rgb */ color: rgb(176, 49, 152);
/* oklch */ color: oklch(54.1% 0.196 336.6);
Tailwind
colors: {
  custom: {
    50: '#cb75b6',
    500: '#b03198',
    950: '#000000',
  },
}
SCSS
$custom: #b03198;
$custom-light: #cb75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b03198",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 311.339,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54135,
    "c": 0.19596,
    "h": 336.6
  },
  "luminance": 0.13694
}

Semantic roles & 50–950 ramp

primary
#B03198
secondary
#78C587
accent
#E06548
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #B03198

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

Preview Lab → · Contrast checker → · Palette generator →

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