#B2335A#B2335A

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

Color values

HEX#B2335A
RGBrgb(178, 51, 90)
HSLhsl(342, 55%, 45%)
HSVhsv(342, 71%, 70%)
CMYKcmyk(0%, 71.3%, 49.4%, 30.2%)
CIE-LABlab(42.11, 53.65, 7.13)
CIE-LCHlch(42.11, 54.12, 7.57°)
OKLaboklab(52.22% 0.1636 0.0186)
OKLCHoklch(52.22% 0.165 6.5)
XYZxyz(21.3912, 12.5736, 10.9714)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2335A #33B28B
analogous
#B2339A #B2335A #B24C33
triadic
#B2335A #5AB233 #335AB2
tetradic
#B2335A #9AB233 #33B28B #4C33B2
square
#B2335A #9AB233 #33B28B #4C33B2
split-complementary
#B2335A #33B24C #339AB2
monochromatic
#53182A #822542 #B2335A #CE547A #DC849F

Accessibility & contrast

On white

5.98
#B2335A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B2335A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2335A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2335A#FFFFFF#000000##FFFFFF
##B2335A1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51535B
Deuteranopia (green-blind)
#726D57
Tritanopia (blue-blind)
#C21B43
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2335a;
/* rgb */ color: rgb(178, 51, 90);
/* oklch */ color: oklch(52.2% 0.165 6.5);
Tailwind
colors: {
  custom: {
    50: '#cf7488',
    500: '#b2335a',
    950: '#000000',
  },
}
SCSS
$custom: #b2335a;
$custom-light: #cf7488;
$custom-dark: #000000;
JSON
{
  "hex": "#b2335a",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 341.575,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52224,
    "c": 0.16467,
    "h": 6.5
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#B2335A
secondary
#7CC5AF
accent
#DFB149
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B2335A

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

Preview Lab → · Contrast checker → · Palette generator →

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