#B2337E#B2337E

#B2337E is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.179 H 348.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B2337E
RGBrgb(178, 51, 126)
HSLhsl(325, 55%, 45%)
HSVhsv(325, 71%, 70%)
CMYKcmyk(0%, 71.3%, 29.2%, 30.2%)
CIE-LABlab(43.27, 57.49, -13.51)
CIE-LCHlch(43.27, 59.05, 346.78°)
OKLaboklab(53.46% 0.175 -0.0355)
OKLCHoklch(53.46% 0.179 348.5)
XYZxyz(23.3109, 13.3416, 21.0822)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2337E #33B267
analogous
#A733B2 #B2337E #B2333E
triadic
#B2337E #7EB233 #337EB2
tetradic
#B2337E #B2A733 #33B267 #333EB2
square
#B2337E #B2A733 #33B267 #333EB2
split-complementary
#B2337E #3EB233 #33B2A7
monochromatic
#53183B #82255C #B2337E #CE549C #DC84B8

Accessibility & contrast

On white

5.73
#B2337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B2337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2337E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2337E#FFFFFF#000000##FFFFFF
##B2337E1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455880
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#BF2D54
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2337e;
/* rgb */ color: rgb(178, 51, 126);
/* oklch */ color: oklch(53.5% 0.179 348.5);
Tailwind
colors: {
  custom: {
    50: '#cd75a3',
    500: '#b2337e',
    950: '#000000',
  },
}
SCSS
$custom: #b2337e;
$custom-light: #cd75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2337e",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 324.567,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.17857,
    "h": 348.5
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#B2337E
secondary
#7CC59A
accent
#DF8649
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B2337E

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

Preview Lab → · Contrast checker → · Palette generator →

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