#B1246B#B1246B

#B1246B is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.185 H 355.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B1246B
RGBrgb(177, 36, 107)
HSLhsl(330, 66%, 42%)
HSVhsv(330, 80%, 69%)
CMYKcmyk(0%, 79.7%, 39.5%, 30.6%)
CIE-LABlab(40.69, 59.90, -5.62)
CIE-LCHlch(40.69, 60.16, 354.64°)
OKLaboklab(51.31% 0.1843 -0.0141)
OKLCHoklch(51.31% 0.185 355.6)
XYZxyz(21.4177, 11.6732, 15.0324)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1246B #24B16A
analogous
#B124B1 #B1246B #B12425
triadic
#B1246B #6BB124 #246BB1
tetradic
#B1246B #B1B124 #24B16A #2425B1
square
#B1246B #B1B124 #24B16A #2425B1
split-complementary
#B1246B #25B124 #24B1B1
monochromatic
#4B0F2E #7E1A4C #B1246B #D73B8A #E16EA8

Accessibility & contrast

On white

6.30
#B1246B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B1246B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1246B
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1246B#FFFFFF#000000##FFFFFF
##B1246B1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434F6D
Deuteranopia (green-blind)
#6A6968
Tritanopia (blue-blind)
#C00C45
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1246b;
/* rgb */ color: rgb(177, 36, 107);
/* oklch */ color: oklch(51.3% 0.185 355.6);
Tailwind
colors: {
  custom: {
    50: '#ce6e95',
    500: '#b1246b',
    950: '#000000',
  },
}
SCSS
$custom: #b1246b;
$custom-light: #ce6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#b1246b",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 329.787,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.18479,
    "h": 355.6
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#B1246B
secondary
#69C898
accent
#E9933F
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1246B

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

Preview Lab → · Contrast checker → · Palette generator →

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