#B1246C#B1246C

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

Color values

HEX#B1246C
RGBrgb(177, 36, 108)
HSLhsl(329, 66%, 42%)
HSVhsv(329, 80%, 69%)
CMYKcmyk(0%, 79.7%, 39%, 30.6%)
CIE-LABlab(40.73, 60.00, -6.20)
CIE-LCHlch(40.73, 60.32, 354.10°)
OKLaboklab(51.35% 0.1846 -0.0156)
OKLCHoklch(51.35% 0.185 355.2)
XYZxyz(21.4706, 11.6943, 15.3110)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1246C #24B169
analogous
#B024B1 #B1246C #B12425
triadic
#B1246C #6CB124 #246CB1
tetradic
#B1246C #B1B024 #24B169 #2425B1
square
#B1246C #B1B024 #24B169 #2425B1
split-complementary
#B1246C #25B124 #24B1B0
monochromatic
#4B0F2E #7E1A4D #B1246C #D73B8B #E16EA9

Accessibility & contrast

On white

6.29
#B1246C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B1246C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1246C
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1246C#FFFFFF#000000##FFFFFF
##B1246C1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6E
Deuteranopia (green-blind)
#696969
Tritanopia (blue-blind)
#BF0D45
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1246c;
/* rgb */ color: rgb(177, 36, 108);
/* oklch */ color: oklch(51.3% 0.185 355.2);
Tailwind
colors: {
  custom: {
    50: '#ce6e96',
    500: '#b1246c',
    950: '#000000',
  },
}
SCSS
$custom: #b1246c;
$custom-light: #ce6e96;
$custom-dark: #000000;
JSON
{
  "hex": "#b1246c",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 329.362,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.18521,
    "h": 355.2
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#B1246C
secondary
#69C897
accent
#E9923F
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1246C

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

Preview Lab → · Contrast checker → · Palette generator →

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