#B0337E#B0337E

#B0337E is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.177 H 347.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B0337E
RGBrgb(176, 51, 126)
HSLhsl(324, 55%, 45%)
HSVhsv(324, 71%, 69%)
CMYKcmyk(0%, 71%, 28.4%, 31%)
CIE-LABlab(42.92, 56.94, -14.07)
CIE-LCHlch(42.92, 58.66, 346.12°)
OKLaboklab(53.14% 0.1731 -0.037)
OKLCHoklch(53.14% 0.177 347.9)
XYZxyz(22.8553, 13.1066, 21.0608)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0337E #33B065
analogous
#A433B0 #B0337E #B03340
triadic
#B0337E #7EB033 #337EB0
tetradic
#B0337E #B0A433 #33B065 #3340B0
square
#B0337E #B0A433 #33B065 #3340B0
split-complementary
#B0337E #40B033 #33B0A4
monochromatic
#51183A #81255C #B0337E #CD539C #DB82B8

Accessibility & contrast

On white

5.80
#B0337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B0337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0337E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0337E#FFFFFF#000000##FFFFFF
##B0337E1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445780
Deuteranopia (green-blind)
#696D7B
Tritanopia (blue-blind)
#BC2E54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b0337e;
/* rgb */ color: rgb(176, 51, 126);
/* oklch */ color: oklch(53.1% 0.177 347.9);
Tailwind
colors: {
  custom: {
    50: '#cc75a3',
    500: '#b0337e',
    950: '#000000',
  },
}
SCSS
$custom: #b0337e;
$custom-light: #cc75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b0337e",
  "rgb": {
    "r": 176,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 324,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.17706,
    "h": 347.9
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#B0337E
secondary
#7BC498
accent
#DE8549
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B0337E

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

Preview Lab → · Contrast checker → · Palette generator →

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