#B2337A#B2337A

#B2337A is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.176 H 350.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B2337A
RGBrgb(178, 51, 122)
HSLhsl(326, 55%, 45%)
HSVhsv(326, 71%, 70%)
CMYKcmyk(0%, 71.3%, 31.5%, 30.2%)
CIE-LABlab(43.12, 57.00, -11.28)
CIE-LCHlch(43.12, 58.10, 348.81°)
OKLaboklab(53.3% 0.174 -0.0293)
OKLCHoklch(53.3% 0.176 350.4)
XYZxyz(23.0580, 13.2404, 19.7499)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2337A #33B26B
analogous
#AB33B2 #B2337A #B2333A
triadic
#B2337A #7AB233 #337AB2
tetradic
#B2337A #B2AB33 #33B26B #333AB2
square
#B2337A #B2AB33 #33B26B #333AB2
split-complementary
#B2337A #3AB233 #33B2AB
monochromatic
#531839 #822559 #B2337A #CE5498 #DC84B5

Accessibility & contrast

On white

5.76
#B2337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2337A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2337A#FFFFFF#000000##FFFFFF
##B2337A1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577C
Deuteranopia (green-blind)
#6B6E77
Tritanopia (blue-blind)
#BF2B52
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2337a;
/* rgb */ color: rgb(178, 51, 122);
/* oklch */ color: oklch(53.3% 0.176 350.4);
Tailwind
colors: {
  custom: {
    50: '#cd75a0',
    500: '#b2337a',
    950: '#000000',
  },
}
SCSS
$custom: #b2337a;
$custom-light: #cd75a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2337a",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 326.457,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53298,
    "c": 0.17646,
    "h": 350.4
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#B2337A
secondary
#7CC59C
accent
#DF8B49
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B2337A

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

Preview Lab → · Contrast checker → · Palette generator →

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