#B5248F#B5248F

#B5248F is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.5% C 0.206 H 341.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B5248F
RGBrgb(181, 36, 143)
HSLhsl(316, 67%, 43%)
HSVhsv(316, 80%, 71%)
CMYKcmyk(0%, 80.1%, 21%, 29%)
CIE-LABlab(42.87, 65.09, -24.47)
CIE-LCHlch(42.87, 69.53, 339.40°)
OKLaboklab(53.5% 0.1955 -0.0659)
OKLCHoklch(53.5% 0.206 341.4)
XYZxyz(24.6457, 13.0713, 27.2064)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5248F #24B54A
analogous
#9224B5 #B5248F #B52447
triadic
#B5248F #8FB524 #248FB5
tetradic
#B5248F #B59224 #24B54A #2447B5
square
#B5248F #B59224 #24B54A #2447B5
split-complementary
#B5248F #47B524 #24B592
monochromatic
#4F103E #821A67 #B5248F #D93EB0 #E371C5

Accessibility & contrast

On white

5.81
#B5248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B5248F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5248F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5248F#FFFFFF#000000##FFFFFF
##B5248F1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335692
Deuteranopia (green-blind)
#626D8C
Tritanopia (blue-blind)
#C02758
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5248f;
/* rgb */ color: rgb(181, 36, 143);
/* oklch */ color: oklch(53.5% 0.206 341.4);
Tailwind
colors: {
  custom: {
    50: '#d070b0',
    500: '#b5248f',
    950: '#000000',
  },
}
SCSS
$custom: #b5248f;
$custom-light: #d070b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5248f",
  "rgb": {
    "r": 181,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 315.724,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.20628,
    "h": 341.4
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#B5248F
secondary
#6BC984
accent
#EA6B3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B5248F

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

Preview Lab → · Contrast checker → · Palette generator →

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