#B12752#B12752

#B12752 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.175 H 8.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B12752
RGBrgb(177, 39, 82)
HSLhsl(341, 64%, 42%)
HSVhsv(341, 78%, 69%)
CMYKcmyk(0%, 78%, 53.7%, 30.6%)
CIE-LABlab(40.26, 56.76, 9.53)
CIE-LCHlch(40.26, 57.56, 9.53°)
OKLaboklab(50.76% 0.1729 0.0244)
OKLCHoklch(50.76% 0.175 8)
XYZxyz(20.3819, 11.4102, 9.1102)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12752 #27B186
analogous
#B12797 #B12752 #B14127
triadic
#B12752 #52B127 #2752B1
tetradic
#B12752 #97B127 #27B186 #4127B1
square
#B12752 #97B127 #27B186 #4127B1
split-complementary
#B12752 #27B141 #2797B1
monochromatic
#4D1124 #7F1C3B #B12752 #D5406F #E07295

Accessibility & contrast

On white

6.40
#B12752 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B12752 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12752
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12752#FFFFFF#000000##FFFFFF
##B127521.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D53
Deuteranopia (green-blind)
#6F694F
Tritanopia (blue-blind)
#C1003A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12752;
/* rgb */ color: rgb(177, 39, 82);
/* oklch */ color: oklch(50.8% 0.175 8.0);
Tailwind
colors: {
  custom: {
    50: '#cf6f82',
    500: '#b12752',
    950: '#000000',
  },
}
SCSS
$custom: #b12752;
$custom-light: #cf6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#b12752",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 82
  },
  "hsl": {
    "h": 341.304,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.17457,
    "h": 8
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#B12752
secondary
#6DC7AB
accent
#E7B341
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12752

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

Preview Lab → · Contrast checker → · Palette generator →

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