#B12451#B12451

#B12451 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.177 H 8.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B12451
RGBrgb(177, 36, 81)
HSLhsl(341, 66%, 42%)
HSVhsv(341, 80%, 69%)
CMYKcmyk(0%, 79.7%, 54.2%, 30.6%)
CIE-LABlab(39.93, 57.57, 9.69)
CIE-LCHlch(39.93, 58.38, 9.56°)
OKLaboklab(50.5% 0.1753 0.0248)
OKLCHoklch(50.5% 0.177 8)
XYZxyz(20.2495, 11.2059, 8.8797)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12451 #24B184
analogous
#B12498 #B12451 #B13E24
triadic
#B12451 #51B124 #2451B1
tetradic
#B12451 #98B124 #24B184 #3E24B1
square
#B12451 #98B124 #24B184 #3E24B1
split-complementary
#B12451 #24B13E #2498B1
monochromatic
#4B0F22 #7E1A3A #B12451 #D73B6D #E16E93

Accessibility & contrast

On white

6.48
#B12451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B12451 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12451
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12451#FFFFFF#000000##FFFFFF
##B124511.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C52
Deuteranopia (green-blind)
#6F684E
Tritanopia (blue-blind)
#C10038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12451;
/* rgb */ color: rgb(177, 36, 81);
/* oklch */ color: oklch(50.5% 0.177 8.0);
Tailwind
colors: {
  custom: {
    50: '#cf6e81',
    500: '#b12451',
    950: '#000000',
  },
}
SCSS
$custom: #b12451;
$custom-light: #cf6e81;
$custom-dark: #000000;
JSON
{
  "hex": "#b12451",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 340.851,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50499,
    "c": 0.17706,
    "h": 8
  },
  "luminance": 0.11203
}

Semantic roles & 50–950 ramp

primary
#B12451
secondary
#69C8AA
accent
#E9B33F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12451

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

Preview Lab → · Contrast checker → · Palette generator →

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