#B2337B#B2337B

#B2337B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.177 H 350.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B2337B
RGBrgb(178, 51, 123)
HSLhsl(326, 55%, 45%)
HSVhsv(326, 71%, 70%)
CMYKcmyk(0%, 71.3%, 30.9%, 30.2%)
CIE-LABlab(43.16, 57.12, -11.84)
CIE-LCHlch(43.16, 58.33, 348.29°)
OKLaboklab(53.34% 0.1743 -0.0309)
OKLCHoklch(53.34% 0.177 350)
XYZxyz(23.1203, 13.2653, 20.0779)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2337B #33B26A
analogous
#AA33B2 #B2337B #B2333C
triadic
#B2337B #7BB233 #337BB2
tetradic
#B2337B #B2AA33 #33B26A #333CB2
square
#B2337B #B2AA33 #33B26A #333CB2
split-complementary
#B2337B #3CB233 #33B2AA
monochromatic
#531839 #82255A #B2337B #CE5499 #DC84B6

Accessibility & contrast

On white

5.75
#B2337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B2337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2337B
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2337B#FFFFFF#000000##FFFFFF
##B2337B1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587D
Deuteranopia (green-blind)
#6B6E78
Tritanopia (blue-blind)
#BF2C52
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2337b;
/* rgb */ color: rgb(178, 51, 123);
/* oklch */ color: oklch(53.3% 0.177 350.0);
Tailwind
colors: {
  custom: {
    50: '#cd75a1',
    500: '#b2337b',
    950: '#000000',
  },
}
SCSS
$custom: #b2337b;
$custom-light: #cd75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2337b",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 325.984,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.17697,
    "h": 350
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#B2337B
secondary
#7CC59B
accent
#DF8A49
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B2337B

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

Preview Lab → · Contrast checker → · Palette generator →

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