#B4239A#B4239A

#B4239A is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.8% C 0.214 H 336.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B4239A
RGBrgb(180, 35, 154)
HSLhsl(311, 67%, 42%)
HSVhsv(311, 81%, 71%)
CMYKcmyk(0%, 80.6%, 14.4%, 29.4%)
CIE-LABlab(43.12, 66.61, -30.74)
CIE-LCHlch(43.12, 73.36, 335.22°)
OKLaboklab(53.82% 0.1965 -0.0838)
OKLCHoklch(53.82% 0.214 336.9)
XYZxyz(25.2567, 13.2409, 31.7912)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4239A #23B43D
analogous
#8623B4 #B4239A #B42351
triadic
#B4239A #9AB423 #239AB4
tetradic
#B4239A #B48623 #23B43D #2351B4
square
#B4239A #B48623 #23B43D #2351B4
split-complementary
#B4239A #51B423 #23B486
monochromatic
#4E0F42 #81196E #B4239A #D93BBD #E36ECE

Accessibility & contrast

On white

5.76
#B4239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B4239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4239A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4239A#FFFFFF#000000##FFFFFF
##B4239A1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589D
Deuteranopia (green-blind)
#5D6E97
Tritanopia (blue-blind)
#BE2E5E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4239a;
/* rgb */ color: rgb(180, 35, 154);
/* oklch */ color: oklch(53.8% 0.214 336.9);
Tailwind
colors: {
  custom: {
    50: '#cf70b8',
    500: '#b4239a',
    950: '#000000',
  },
}
SCSS
$custom: #b4239a;
$custom-light: #cf70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b4239a",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 310.759,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.2136,
    "h": 336.9
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#B4239A
secondary
#69C97B
accent
#EA5C3D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4239A

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

Preview Lab → · Contrast checker → · Palette generator →

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