#B9249B#B9249B

#B9249B is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.7% C 0.216 H 338.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B9249B
RGBrgb(185, 36, 155)
HSLhsl(312, 67%, 43%)
HSVhsv(312, 81%, 73%)
CMYKcmyk(0%, 80.5%, 16.2%, 27.5%)
CIE-LABlab(44.15, 67.58, -29.67)
CIE-LCHlch(44.15, 73.81, 336.30°)
OKLaboklab(54.74% 0.2004 -0.0806)
OKLCHoklch(54.74% 0.216 338.1)
XYZxyz(26.5555, 13.9452, 32.2971)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9249B #24B942
analogous
#8D24B9 #B9249B #B92450
triadic
#B9249B #9BB924 #249BB9
tetradic
#B9249B #B98D24 #24B942 #2450B9
square
#B9249B #B98D24 #24B942 #2450B9
split-complementary
#B9249B #50B924 #24B98D
monochromatic
#531045 #861A70 #B9249B #DA40BB #E474CD

Accessibility & contrast

On white

5.54
#B9249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B9249B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9249B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9249B#FFFFFF#000000##FFFFFF
##B9249B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9E
Deuteranopia (green-blind)
#617098
Tritanopia (blue-blind)
#C42D5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b9249b;
/* rgb */ color: rgb(185, 36, 155);
/* oklch */ color: oklch(54.7% 0.216 338.1);
Tailwind
colors: {
  custom: {
    50: '#d271b9',
    500: '#b9249b',
    950: '#000000',
  },
}
SCSS
$custom: #b9249b;
$custom-light: #d271b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b9249b",
  "rgb": {
    "r": 185,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 312.081,
    "s": 67.421,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.21605,
    "h": 338.1
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#B9249B
secondary
#6ECB81
accent
#EA603D
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B9249B

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

Preview Lab → · Contrast checker → · Palette generator →

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