#B2335B#B2335B

#B2335B is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.165 H 6.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B2335B
RGBrgb(178, 51, 91)
HSLhsl(341, 55%, 45%)
HSVhsv(341, 71%, 70%)
CMYKcmyk(0%, 71.3%, 48.9%, 30.2%)
CIE-LABlab(42.14, 53.74, 6.54)
CIE-LCHlch(42.14, 54.13, 6.94°)
OKLaboklab(52.25% 0.164 0.0172)
OKLCHoklch(52.25% 0.165 6)
XYZxyz(21.4340, 12.5908, 11.1971)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2335B #33B28A
analogous
#B2339B #B2335B #B24A33
triadic
#B2335B #5BB233 #335BB2
tetradic
#B2335B #9BB233 #33B28A #4A33B2
square
#B2335B #9BB233 #33B28A #4A33B2
split-complementary
#B2335B #33B24A #339BB2
monochromatic
#53182A #822543 #B2335B #CE547B #DC849F

Accessibility & contrast

On white

5.97
#B2335B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B2335B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2335B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2335B#FFFFFF#000000##FFFFFF
##B2335B1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50535C
Deuteranopia (green-blind)
#726D58
Tritanopia (blue-blind)
#C21C43
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2335b;
/* rgb */ color: rgb(178, 51, 91);
/* oklch */ color: oklch(52.3% 0.165 6.0);
Tailwind
colors: {
  custom: {
    50: '#cf7489',
    500: '#b2335b',
    950: '#000000',
  },
}
SCSS
$custom: #b2335b;
$custom-light: #cf7489;
$custom-dark: #000000;
JSON
{
  "hex": "#b2335b",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 341.102,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52252,
    "c": 0.16489,
    "h": 6
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#B2335B
secondary
#7CC5AE
accent
#DFB049
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B2335B

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

Preview Lab → · Contrast checker → · Palette generator →

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