#B4238D#B4238D

#B4238D is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.2% C 0.205 H 341.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B4238D
RGBrgb(180, 35, 141)
HSLhsl(316, 67%, 42%)
HSVhsv(316, 81%, 71%)
CMYKcmyk(0%, 80.6%, 21.7%, 29.4%)
CIE-LABlab(42.51, 64.86, -23.83)
CIE-LCHlch(42.51, 69.10, 339.83°)
OKLaboklab(53.17% 0.1951 -0.0641)
OKLCHoklch(53.17% 0.205 341.8)
XYZxyz(24.2320, 12.8310, 26.3946)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4238D #23B44A
analogous
#9323B4 #B4238D #B42344
triadic
#B4238D #8DB423 #238DB4
tetradic
#B4238D #B49323 #23B44A #2344B4
square
#B4238D #B49323 #23B44A #2344B4
split-complementary
#B4238D #44B423 #23B493
monochromatic
#4E0F3D #811965 #B4238D #D93BAF #E36EC4

Accessibility & contrast

On white

5.89
#B4238D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B4238D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4238D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4238D#FFFFFF#000000##FFFFFF
##B4238D1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335590
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#C02657
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4238d;
/* rgb */ color: rgb(180, 35, 141);
/* oklch */ color: oklch(53.2% 0.205 341.8);
Tailwind
colors: {
  custom: {
    50: '#cf70ae',
    500: '#b4238d',
    950: '#000000',
  },
}
SCSS
$custom: #b4238d;
$custom-light: #cf70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4238d",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 316.138,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.20535,
    "h": 341.8
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#B4238D
secondary
#69C983
accent
#EA6C3D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4238D

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

Preview Lab → · Contrast checker → · Palette generator →

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