#B4248F#B4248F

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

Color values

HEX#B4248F
RGBrgb(180, 36, 143)
HSLhsl(315, 67%, 42%)
HSVhsv(315, 80%, 71%)
CMYKcmyk(0%, 80%, 20.6%, 29.4%)
CIE-LABlab(42.69, 64.86, -24.77)
CIE-LCHlch(42.69, 69.42, 339.10°)
OKLaboklab(53.33% 0.1946 -0.0668)
OKLCHoklch(53.33% 0.206 341.1)
XYZxyz(24.4120, 12.9508, 27.1954)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4248F #24B449
analogous
#9124B4 #B4248F #B42447
triadic
#B4248F #8FB424 #248FB4
tetradic
#B4248F #B49124 #24B449 #2447B4
square
#B4248F #B49124 #24B449 #2447B4
split-complementary
#B4248F #47B424 #24B491
monochromatic
#4E103E #811A66 #B4248F #D83DB0 #E270C5

Accessibility & contrast

On white

5.85
#B4248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B4248F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4248F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4248F#FFFFFF#000000##FFFFFF
##B4248F1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4248f;
/* rgb */ color: rgb(180, 36, 143);
/* oklch */ color: oklch(53.3% 0.206 341.1);
Tailwind
colors: {
  custom: {
    50: '#cf70b0',
    500: '#b4248f',
    950: '#000000',
  },
}
SCSS
$custom: #b4248f;
$custom-light: #cf70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4248f",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 315.417,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53332,
    "c": 0.2057,
    "h": 341.1
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#B4248F
secondary
#6BC983
accent
#EA6A3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4248F

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

Preview Lab → · Contrast checker → · Palette generator →

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