#B1247A#B1247A

#B1247A is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.192 H 348.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B1247A
RGBrgb(177, 36, 122)
HSLhsl(323, 66%, 42%)
HSVhsv(323, 80%, 69%)
CMYKcmyk(0%, 79.7%, 31.1%, 30.6%)
CIE-LABlab(41.24, 61.54, -14.15)
CIE-LCHlch(41.24, 63.15, 347.05°)
OKLaboklab(51.89% 0.1882 -0.0371)
OKLCHoklch(51.89% 0.192 348.8)
XYZxyz(22.2764, 12.0166, 19.5549)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1247A #24B15B
analogous
#A224B1 #B1247A #B12434
triadic
#B1247A #7AB124 #247AB1
tetradic
#B1247A #B1A224 #24B15B #2434B1
square
#B1247A #B1A224 #24B15B #2434B1
split-complementary
#B1247A #34B124 #24B1A2
monochromatic
#4B0F34 #7E1A57 #B1247A #D73B9A #E16EB4

Accessibility & contrast

On white

6.17
#B1247A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B1247A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1247A
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1247A#FFFFFF#000000##FFFFFF
##B1247A1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527C
Deuteranopia (green-blind)
#666A77
Tritanopia (blue-blind)
#BE1B4D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1247a;
/* rgb */ color: rgb(177, 36, 122);
/* oklch */ color: oklch(51.9% 0.192 348.8);
Tailwind
colors: {
  custom: {
    50: '#cd6fa0',
    500: '#b1247a',
    950: '#000000',
  },
}
SCSS
$custom: #b1247a;
$custom-light: #cd6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#b1247a",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 323.404,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51892,
    "c": 0.19181,
    "h": 348.8
  },
  "luminance": 0.12014
}

Semantic roles & 50–950 ramp

primary
#B1247A
secondary
#69C88E
accent
#E9813F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B1247A

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

Preview Lab → · Contrast checker → · Palette generator →

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