#B4238F#B4238F

#B4238F is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.3% C 0.207 H 341.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B4238F
RGBrgb(180, 35, 143)
HSLhsl(315, 67%, 42%)
HSVhsv(315, 81%, 71%)
CMYKcmyk(0%, 80.6%, 20.6%, 29.4%)
CIE-LABlab(42.60, 65.12, -24.91)
CIE-LCHlch(42.60, 69.72, 339.07°)
OKLaboklab(53.27% 0.1954 -0.0672)
OKLCHoklch(53.27% 0.207 341)
XYZxyz(24.3822, 12.8911, 27.1854)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4238F #23B448
analogous
#9023B4 #B4238F #B42347
triadic
#B4238F #8FB423 #238FB4
tetradic
#B4238F #B49023 #23B448 #2347B4
square
#B4238F #B49023 #23B448 #2347B4
split-complementary
#B4238F #47B423 #23B490
monochromatic
#4E0F3E #811966 #B4238F #D93BB1 #E36EC5

Accessibility & contrast

On white

5.87
#B4238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B4238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4238F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4238F#FFFFFF#000000##FFFFFF
##B4238F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#616D8C
Tritanopia (blue-blind)
#BF2758
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4238f;
/* rgb */ color: rgb(180, 35, 143);
/* oklch */ color: oklch(53.3% 0.207 341.0);
Tailwind
colors: {
  custom: {
    50: '#cf70b0',
    500: '#b4238f',
    950: '#000000',
  },
}
SCSS
$custom: #b4238f;
$custom-light: #cf70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4238f",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 315.31,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53267,
    "c": 0.20658,
    "h": 341
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#B4238F
secondary
#69C982
accent
#EA6A3D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4238F

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

Preview Lab → · Contrast checker → · Palette generator →

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