#B1246E#B1246E

#B1246E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.186 H 354.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B1246E
RGBrgb(177, 36, 110)
HSLhsl(329, 66%, 42%)
HSVhsv(329, 80%, 69%)
CMYKcmyk(0%, 79.7%, 37.9%, 30.6%)
CIE-LABlab(40.80, 60.21, -7.35)
CIE-LCHlch(40.80, 60.66, 353.04°)
OKLaboklab(51.42% 0.1851 -0.0187)
OKLCHoklch(51.42% 0.186 354.2)
XYZxyz(21.5783, 11.7374, 15.8781)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1246E #24B167
analogous
#AE24B1 #B1246E #B12427
triadic
#B1246E #6EB124 #246EB1
tetradic
#B1246E #B1AE24 #24B167 #2427B1
square
#B1246E #B1AE24 #24B167 #2427B1
split-complementary
#B1246E #27B124 #24B1AE
monochromatic
#4B0F2F #7E1A4E #B1246E #D73B8D #E16EAB

Accessibility & contrast

On white

6.27
#B1246E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B1246E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1246E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1246E#FFFFFF#000000##FFFFFF
##B1246E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415070
Deuteranopia (green-blind)
#69696B
Tritanopia (blue-blind)
#BF0F46
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1246e;
/* rgb */ color: rgb(177, 36, 110);
/* oklch */ color: oklch(51.4% 0.186 354.2);
Tailwind
colors: {
  custom: {
    50: '#cd6f97',
    500: '#b1246e',
    950: '#000000',
  },
}
SCSS
$custom: #b1246e;
$custom-light: #cd6f97;
$custom-dark: #000000;
JSON
{
  "hex": "#b1246e",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 328.511,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.18606,
    "h": 354.2
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#B1246E
secondary
#69C896
accent
#E9903F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1246E

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

Preview Lab → · Contrast checker → · Palette generator →

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