#B12552#B12552

#B12552 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.176 H 7.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B12552
RGBrgb(177, 37, 82)
HSLhsl(341, 65%, 42%)
HSVhsv(341, 79%, 69%)
CMYKcmyk(0%, 79.1%, 53.7%, 30.6%)
CIE-LABlab(40.05, 57.36, 9.23)
CIE-LCHlch(40.05, 58.10, 9.15°)
OKLaboklab(50.6% 0.1748 0.0237)
OKLCHoklch(50.6% 0.176 7.7)
XYZxyz(20.3179, 11.2823, 9.0888)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12552 #25B184
analogous
#B12598 #B12552 #B13E25
triadic
#B12552 #52B125 #2552B1
tetradic
#B12552 #98B125 #25B184 #3E25B1
square
#B12552 #98B125 #25B184 #3E25B1
split-complementary
#B12552 #25B13E #2598B1
monochromatic
#4C1023 #7E1A3B #B12552 #D63D6E #E16F94

Accessibility & contrast

On white

6.45
#B12552 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B12552 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12552
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12552#FFFFFF#000000##FFFFFF
##B125521.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D53
Deuteranopia (green-blind)
#6F684F
Tritanopia (blue-blind)
#C10039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12552;
/* rgb */ color: rgb(177, 37, 82);
/* oklch */ color: oklch(50.6% 0.176 7.7);
Tailwind
colors: {
  custom: {
    50: '#cf6e82',
    500: '#b12552',
    950: '#000000',
  },
}
SCSS
$custom: #b12552;
$custom-light: #cf6e82;
$custom-dark: #000000;
JSON
{
  "hex": "#b12552",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 340.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.506,
    "c": 0.17637,
    "h": 7.7
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#B12552
secondary
#6AC8AA
accent
#E8B23F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12552

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

Preview Lab → · Contrast checker → · Palette generator →

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