#B1246F#B1246F

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

Color values

HEX#B1246F
RGBrgb(177, 36, 111)
HSLhsl(328, 66%, 42%)
HSVhsv(328, 80%, 69%)
CMYKcmyk(0%, 79.7%, 37.3%, 30.6%)
CIE-LABlab(40.83, 60.32, -7.92)
CIE-LCHlch(40.83, 60.84, 352.52°)
OKLaboklab(51.46% 0.1854 -0.0202)
OKLCHoklch(51.46% 0.187 353.8)
XYZxyz(21.6330, 11.7593, 16.1664)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1246F #24B166
analogous
#AD24B1 #B1246F #B12429
triadic
#B1246F #6FB124 #246FB1
tetradic
#B1246F #B1AD24 #24B166 #2429B1
square
#B1246F #B1AD24 #24B166 #2429B1
split-complementary
#B1246F #29B124 #24B1AD
monochromatic
#4B0F2F #7E1A4F #B1246F #D73B8E #E16EAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1246F#FFFFFF#000000##FFFFFF
##B1246F1.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)
#415071
Deuteranopia (green-blind)
#69696C
Tritanopia (blue-blind)
#BF1147
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1246f;
/* rgb */ color: rgb(177, 36, 111);
/* oklch */ color: oklch(51.5% 0.186 353.8);
Tailwind
colors: {
  custom: {
    50: '#cd6f98',
    500: '#b1246f',
    950: '#000000',
  },
}
SCSS
$custom: #b1246f;
$custom-light: #cd6f98;
$custom-dark: #000000;
JSON
{
  "hex": "#b1246f",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 328.085,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51458,
    "c": 0.1865,
    "h": 353.8
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#B1246F
secondary
#69C895
accent
#E98E3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1246F

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

Preview Lab → · Contrast checker → · Palette generator →

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