#B1249F#B1249F

#B1249F is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.215 H 334.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B1249F
RGBrgb(177, 36, 159)
HSLhsl(308, 66%, 42%)
HSVhsv(308, 80%, 69%)
CMYKcmyk(0%, 79.7%, 10.2%, 30.6%)
CIE-LABlab(42.94, 66.42, -34.08)
CIE-LCHlch(42.94, 74.65, 332.83°)
OKLaboklab(53.66% 0.1931 -0.0935)
OKLCHoklch(53.66% 0.215 334.2)
XYZxyz(25.0206, 13.1143, 34.0077)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1249F #24B136
analogous
#7D24B1 #B1249F #B12458
triadic
#B1249F #9FB124 #249FB1
tetradic
#B1249F #B17D24 #24B136 #2458B1
square
#B1249F #B17D24 #24B136 #2458B1
split-complementary
#B1249F #58B124 #24B17D
monochromatic
#4B0F44 #7E1A71 #B1249F #D73BC3 #E16ED3

Accessibility & contrast

On white

5.80
#B1249F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B1249F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1249F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1249F#FFFFFF#000000##FFFFFF
##B1249F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#586D9C
Tritanopia (blue-blind)
#BA3361
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b1249f;
/* rgb */ color: rgb(177, 36, 159);
/* oklch */ color: oklch(53.7% 0.215 334.2);
Tailwind
colors: {
  custom: {
    50: '#cc70bc',
    500: '#b1249f',
    950: '#000000',
  },
}
SCSS
$custom: #b1249f;
$custom-light: #cc70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b1249f",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 307.66,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53663,
    "c": 0.21456,
    "h": 334.2
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#B1249F
secondary
#69C875
accent
#E9543F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B1249F

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

Preview Lab → · Contrast checker → · Palette generator →

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