#B5249F#B5249F

#B5249F is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.217 H 335.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B5249F
RGBrgb(181, 36, 159)
HSLhsl(309, 67%, 43%)
HSVhsv(309, 80%, 71%)
CMYKcmyk(0%, 80.1%, 12.2%, 29%)
CIE-LABlab(43.64, 67.28, -32.93)
CIE-LCHlch(43.64, 74.90, 333.92°)
OKLaboklab(54.3% 0.197 -0.09)
OKLCHoklch(54.3% 0.217 335.4)
XYZxyz(25.9453, 13.5911, 34.0511)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5249F #24B53A
analogous
#8224B5 #B5249F #B52457
triadic
#B5249F #9FB524 #249FB5
tetradic
#B5249F #B58224 #24B53A #2457B5
square
#B5249F #B58224 #24B53A #2457B5
split-complementary
#B5249F #57B524 #24B582
monochromatic
#4F1045 #821A72 #B5249F #D93EC1 #E371D1

Accessibility & contrast

On white

5.65
#B5249F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B5249F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5249F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5249F#FFFFFF#000000##FFFFFF
##B5249F1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245AA2
Deuteranopia (green-blind)
#5C6F9C
Tritanopia (blue-blind)
#BE3261
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5249f;
/* rgb */ color: rgb(181, 36, 159);
/* oklch */ color: oklch(54.3% 0.217 335.4);
Tailwind
colors: {
  custom: {
    50: '#cf71bc',
    500: '#b5249f',
    950: '#000000',
  },
}
SCSS
$custom: #b5249f;
$custom-light: #cf71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b5249f",
  "rgb": {
    "r": 181,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 309.103,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.543,
    "c": 0.21659,
    "h": 335.4
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#B5249F
secondary
#6BC97A
accent
#EA583E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B5249F

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

Preview Lab → · Contrast checker → · Palette generator →

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