#B03098#B03098

#B03098 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.197 H 336.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B03098
RGBrgb(176, 48, 152)
HSLhsl(311, 57%, 44%)
HSVhsv(311, 73%, 69%)
CMYKcmyk(0%, 72.7%, 13.6%, 31%)
CIE-LABlab(43.67, 61.56, -28.73)
CIE-LCHlch(43.67, 67.93, 334.98°)
OKLaboklab(54.05% 0.1809 -0.0782)
OKLCHoklch(54.05% 0.197 336.6)
XYZxyz(24.6294, 13.6132, 31.0302)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03098 #30B048
analogous
#8830B0 #B03098 #B03058
triadic
#B03098 #98B030 #3098B0
tetradic
#B03098 #B08830 #30B048 #3058B0
square
#B03098 #B08830 #30B048 #3058B0
split-complementary
#B03098 #58B030 #30B088
monochromatic
#501645 #80236E #B03098 #CF4EB7 #DC7ECA

Accessibility & contrast

On white

5.64
#B03098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B03098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03098
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03098#FFFFFF#000000##FFFFFF
##B030981.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b03098;
/* rgb */ color: rgb(176, 48, 152);
/* oklch */ color: oklch(54.0% 0.197 336.6);
Tailwind
colors: {
  custom: {
    50: '#cb75b6',
    500: '#b03098',
    950: '#000000',
  },
}
SCSS
$custom: #b03098;
$custom-light: #cb75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b03098",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 311.25,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54048,
    "c": 0.19711,
    "h": 336.6
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#B03098
secondary
#77C586
accent
#E06447
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #B03098

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

Preview Lab → · Contrast checker → · Palette generator →

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