#B9249C#B9249C

#B9249C is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.8% C 0.217 H 337.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B9249C
RGBrgb(185, 36, 156)
HSLhsl(312, 67%, 43%)
HSVhsv(312, 81%, 73%)
CMYKcmyk(0%, 80.5%, 15.7%, 27.5%)
CIE-LABlab(44.20, 67.72, -30.19)
CIE-LCHlch(44.20, 74.15, 335.97°)
OKLaboklab(54.79% 0.2005 -0.0821)
OKLCHoklch(54.79% 0.217 337.7)
XYZxyz(26.6398, 13.9790, 32.7413)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9249C #24B941
analogous
#8B24B9 #B9249C #B92451
triadic
#B9249C #9CB924 #249CB9
tetradic
#B9249C #B98B24 #24B941 #2451B9
square
#B9249C #B98B24 #24B941 #2451B9
split-complementary
#B9249C #51B924 #24B98B
monochromatic
#531046 #861A71 #B9249C #DA40BC #E474CE

Accessibility & contrast

On white

5.53
#B9249C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B9249C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9249C
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9249C#FFFFFF#000000##FFFFFF
##B9249C1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5A9F
Deuteranopia (green-blind)
#607099
Tritanopia (blue-blind)
#C32E5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b9249c;
/* rgb */ color: rgb(185, 36, 156);
/* oklch */ color: oklch(54.8% 0.217 337.7);
Tailwind
colors: {
  custom: {
    50: '#d271b9',
    500: '#b9249c',
    950: '#000000',
  },
}
SCSS
$custom: #b9249c;
$custom-light: #d271b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b9249c",
  "rgb": {
    "r": 185,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 311.678,
    "s": 67.421,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54786,
    "c": 0.2167,
    "h": 337.7
  },
  "luminance": 0.13976
}

Semantic roles & 50–950 ramp

primary
#B9249C
secondary
#6ECB80
accent
#EA5F3D
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B9249C

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

Preview Lab → · Contrast checker → · Palette generator →

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