#B12852#B12852

#B12852 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.174 H 8.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B12852
RGBrgb(177, 40, 82)
HSLhsl(342, 63%, 43%)
HSVhsv(342, 77%, 69%)
CMYKcmyk(0%, 77.4%, 53.7%, 30.6%)
CIE-LABlab(40.37, 56.45, 9.68)
CIE-LCHlch(40.37, 57.28, 9.73°)
OKLaboklab(50.84% 0.1719 0.0248)
OKLCHoklch(50.84% 0.174 8.2)
XYZxyz(20.4151, 11.4768, 9.1212)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12852 #28B187
analogous
#B12896 #B12852 #B14328
triadic
#B12852 #52B128 #2852B1
tetradic
#B12852 #96B128 #28B187 #4328B1
square
#B12852 #96B128 #28B187 #4328B1
split-complementary
#B12852 #28B143 #2896B1
monochromatic
#4D1124 #7F1D3B #B12852 #D4426F #E07495

Accessibility & contrast

On white

6.37
#B12852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B12852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12852
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12852#FFFFFF#000000##FFFFFF
##B128521.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E53
Deuteranopia (green-blind)
#70694F
Tritanopia (blue-blind)
#C1003A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12852;
/* rgb */ color: rgb(177, 40, 82);
/* oklch */ color: oklch(50.8% 0.174 8.2);
Tailwind
colors: {
  custom: {
    50: '#cf6f82',
    500: '#b12852',
    950: '#000000',
  },
}
SCSS
$custom: #b12852;
$custom-light: #cf6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#b12852",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 341.606,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50836,
    "c": 0.17364,
    "h": 8.2
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#B12852
secondary
#6EC7AC
accent
#E6B442
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12852

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

Preview Lab → · Contrast checker → · Palette generator →

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