#B4238A#B4238A

#B4238A is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.204 H 343.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B4238A
RGBrgb(180, 35, 138)
HSLhsl(317, 67%, 42%)
HSVhsv(317, 81%, 71%)
CMYKcmyk(0%, 80.6%, 23.3%, 29.4%)
CIE-LABlab(42.37, 64.47, -22.21)
CIE-LCHlch(42.37, 68.19, 340.99°)
OKLaboklab(53.03% 0.1947 -0.0595)
OKLCHoklch(53.03% 0.204 343)
XYZxyz(24.0118, 12.7430, 25.2349)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4238A #23B44D
analogous
#9523B4 #B4238A #B42342
triadic
#B4238A #8AB423 #238AB4
tetradic
#B4238A #B49523 #23B44D #2342B4
square
#B4238A #B49523 #23B44D #2342B4
split-complementary
#B4238A #42B423 #23B495
monochromatic
#4E0F3B #811963 #B4238A #D93BAB #E36EC1

Accessibility & contrast

On white

5.92
#B4238A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B4238A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4238A
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4238A#FFFFFF#000000##FFFFFF
##B4238A1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558D
Deuteranopia (green-blind)
#636C87
Tritanopia (blue-blind)
#C02455
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4238a;
/* rgb */ color: rgb(180, 35, 138);
/* oklch */ color: oklch(53.0% 0.204 343.0);
Tailwind
colors: {
  custom: {
    50: '#cf70ac',
    500: '#b4238a',
    950: '#000000',
  },
}
SCSS
$custom: #b4238a;
$custom-light: #cf70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b4238a",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 317.379,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53031,
    "c": 0.20355,
    "h": 343
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#B4238A
secondary
#69C985
accent
#EA703D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4238A

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

Preview Lab → · Contrast checker → · Palette generator →

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