#B1247F#B1247F

#B1247F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.194 H 346.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B1247F
RGBrgb(177, 36, 127)
HSLhsl(321, 66%, 42%)
HSVhsv(321, 80%, 69%)
CMYKcmyk(0%, 79.7%, 28.2%, 30.6%)
CIE-LABlab(41.44, 62.13, -16.93)
CIE-LCHlch(41.44, 64.40, 344.76°)
OKLaboklab(52.1% 0.1893 -0.0448)
OKLCHoklch(52.1% 0.194 346.7)
XYZxyz(22.5942, 12.1438, 21.2287)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1247F #24B156
analogous
#9D24B1 #B1247F #B12438
triadic
#B1247F #7FB124 #247FB1
tetradic
#B1247F #B19D24 #24B156 #2438B1
square
#B1247F #B19D24 #24B156 #2438B1
split-complementary
#B1247F #38B124 #24B19D
monochromatic
#4B0F36 #7E1A5B #B1247F #D73BA0 #E16EB9

Accessibility & contrast

On white

6.13
#B1247F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B1247F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1247F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1247F#FFFFFF#000000##FFFFFF
##B1247F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5281
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#BE1E4F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b1247f;
/* rgb */ color: rgb(177, 36, 127);
/* oklch */ color: oklch(52.1% 0.194 346.7);
Tailwind
colors: {
  custom: {
    50: '#cd6fa4',
    500: '#b1247f',
    950: '#000000',
  },
}
SCSS
$custom: #b1247f;
$custom-light: #cd6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#b1247f",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 321.277,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.19448,
    "h": 346.7
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#B1247F
secondary
#69C88B
accent
#E97B3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B1247F

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

Preview Lab → · Contrast checker → · Palette generator →

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