#B1246D#B1246D

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

Color values

HEX#B1246D
RGBrgb(177, 36, 109)
HSLhsl(329, 66%, 42%)
HSVhsv(329, 80%, 69%)
CMYKcmyk(0%, 79.7%, 38.4%, 30.6%)
CIE-LABlab(40.76, 60.11, -6.77)
CIE-LCHlch(40.76, 60.49, 353.57°)
OKLaboklab(51.38% 0.1848 -0.0171)
OKLCHoklch(51.38% 0.186 354.7)
XYZxyz(21.5241, 11.7157, 15.5929)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1246D #24B168
analogous
#AF24B1 #B1246D #B12427
triadic
#B1246D #6DB124 #246DB1
tetradic
#B1246D #B1AF24 #24B168 #2427B1
square
#B1246D #B1AF24 #24B168 #2427B1
split-complementary
#B1246D #27B124 #24B1AF
monochromatic
#4B0F2E #7E1A4E #B1246D #D73B8C #E16EAA

Accessibility & contrast

On white

6.28
#B1246D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1246D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1246D#FFFFFF#000000##FFFFFF
##B1246D1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42506F
Deuteranopia (green-blind)
#69696A
Tritanopia (blue-blind)
#BF0E46
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1246d;
/* rgb */ color: rgb(177, 36, 109);
/* oklch */ color: oklch(51.4% 0.186 354.7);
Tailwind
colors: {
  custom: {
    50: '#cd6f96',
    500: '#b1246d',
    950: '#000000',
  },
}
SCSS
$custom: #b1246d;
$custom-light: #cd6f96;
$custom-dark: #000000;
JSON
{
  "hex": "#b1246d",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 328.936,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51384,
    "c": 0.18563,
    "h": 354.7
  },
  "luminance": 0.11713
}

Semantic roles & 50–950 ramp

primary
#B1246D
secondary
#69C897
accent
#E9913F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B1246D

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

Preview Lab → · Contrast checker → · Palette generator →

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