#B8337C#B8337C

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

Color values

HEX#B8337C
RGBrgb(184, 51, 124)
HSLhsl(327, 57%, 46%)
HSVhsv(327, 72%, 72%)
CMYKcmyk(0%, 72.3%, 32.6%, 27.8%)
CIE-LABlab(44.26, 58.88, -10.69)
CIE-LCHlch(44.26, 59.84, 349.71°)
OKLaboklab(54.35% 0.18 -0.0277)
OKLCHoklch(54.35% 0.182 351.2)
XYZxyz(24.5904, 14.0161, 20.4753)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8337C #33B86F
analogous
#B133B8 #B8337C #B83339
triadic
#B8337C #7CB833 #337CB8
tetradic
#B8337C #B8B133 #33B86F #3339B8
square
#B8337C #B8B133 #33B86F #3339B8
split-complementary
#B8337C #39B833 #33B8B1
monochromatic
#58183B #88265C #B8337C #D1589A #DE88B7

Accessibility & contrast

On white

5.52
#B8337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B8337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8337C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8337C#FFFFFF#000000##FFFFFF
##B8337C1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597E
Deuteranopia (green-blind)
#6F7179
Tritanopia (blue-blind)
#C62A53
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8337c;
/* rgb */ color: rgb(184, 51, 124);
/* oklch */ color: oklch(54.4% 0.182 351.2);
Tailwind
colors: {
  custom: {
    50: '#d276a2',
    500: '#b8337c',
    950: '#000000',
  },
}
SCSS
$custom: #b8337c;
$custom-light: #d276a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b8337c",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 327.068,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.18213,
    "h": 351.2
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

primary
#B8337C
secondary
#7FC8A0
accent
#E08C48
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B8337C

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

Preview Lab → · Contrast checker → · Palette generator →

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