#B2336B#B2336B

#B2336B is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.170 H 357.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B2336B
RGBrgb(178, 51, 107)
HSLhsl(334, 55%, 45%)
HSVhsv(334, 71%, 70%)
CMYKcmyk(0%, 71.3%, 39.9%, 30.2%)
CIE-LABlab(42.61, 55.30, -2.77)
CIE-LCHlch(42.61, 55.37, 357.14°)
OKLaboklab(52.75% 0.1696 -0.0066)
OKLCHoklch(52.75% 0.17 357.8)
XYZxyz(22.1993, 12.8969, 15.2274)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2336B #33B27A
analogous
#B233AB #B2336B #B23A33
triadic
#B2336B #6BB233 #336BB2
tetradic
#B2336B #ABB233 #33B27A #3A33B2
square
#B2336B #ABB233 #33B27A #3A33B2
split-complementary
#B2336B #33B23A #33ABB2
monochromatic
#531832 #82254E #B2336B #CE548A #DC84AB

Accessibility & contrast

On white

5.87
#B2336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B2336B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2336B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2336B#FFFFFF#000000##FFFFFF
##B2336B1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556C
Deuteranopia (green-blind)
#6F6D68
Tritanopia (blue-blind)
#C0244B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b2336b;
/* rgb */ color: rgb(178, 51, 107);
/* oklch */ color: oklch(52.8% 0.170 357.8);
Tailwind
colors: {
  custom: {
    50: '#ce7595',
    500: '#b2336b',
    950: '#000000',
  },
}
SCSS
$custom: #b2336b;
$custom-light: #ce7595;
$custom-dark: #000000;
JSON
{
  "hex": "#b2336b",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 333.543,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5275,
    "c": 0.16972,
    "h": 357.8
  },
  "luminance": 0.12894
}

Semantic roles & 50–950 ramp

primary
#B2336B
secondary
#7CC5A5
accent
#DF9D49
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B2336B

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

Preview Lab → · Contrast checker → · Palette generator →

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