#B2336F#B2336F

#B2336F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.171 H 355.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B2336F
RGBrgb(178, 51, 111)
HSLhsl(332, 55%, 45%)
HSVhsv(332, 71%, 70%)
CMYKcmyk(0%, 71.3%, 37.6%, 30.2%)
CIE-LABlab(42.74, 55.73, -5.06)
CIE-LCHlch(42.74, 55.96, 354.82°)
OKLaboklab(52.89% 0.1709 -0.0126)
OKLCHoklch(52.89% 0.171 355.8)
XYZxyz(22.4146, 12.9830, 16.3614)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2336F #33B276
analogous
#B233AE #B2336F #B23733
triadic
#B2336F #6FB233 #336FB2
tetradic
#B2336F #AEB233 #33B276 #3733B2
square
#B2336F #AEB233 #33B276 #3733B2
split-complementary
#B2336F #33B237 #33AEB2
monochromatic
#531834 #822551 #B2336F #CE548E #DC84AD

Accessibility & contrast

On white

5.84
#B2336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B2336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2336F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2336F#FFFFFF#000000##FFFFFF
##B2336F1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5671
Deuteranopia (green-blind)
#6E6E6C
Tritanopia (blue-blind)
#C0264D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b2336f;
/* rgb */ color: rgb(178, 51, 111);
/* oklch */ color: oklch(52.9% 0.171 355.8);
Tailwind
colors: {
  custom: {
    50: '#ce7598',
    500: '#b2336f',
    950: '#000000',
  },
}
SCSS
$custom: #b2336f;
$custom-light: #ce7598;
$custom-dark: #000000;
JSON
{
  "hex": "#b2336f",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 331.654,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.17131,
    "h": 355.8
  },
  "luminance": 0.1298
}

Semantic roles & 50–950 ramp

primary
#B2336F
secondary
#7CC5A2
accent
#DF9849
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B2336F

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

Preview Lab → · Contrast checker → · Palette generator →

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