#B12548#B12548

#B12548 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.4% C 0.175 H 12.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B12548
RGBrgb(177, 37, 72)
HSLhsl(345, 65%, 42%)
HSVhsv(345, 79%, 69%)
CMYKcmyk(0%, 79.1%, 59.3%, 30.6%)
CIE-LABlab(39.82, 56.63, 15.25)
CIE-LCHlch(39.82, 58.65, 15.07°)
OKLaboklab(50.35% 0.1709 0.0378)
OKLCHoklch(50.35% 0.175 12.5)
XYZxyz(19.9648, 11.1411, 7.2288)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12548 #25B18E
analogous
#B1258E #B12548 #B14825
triadic
#B12548 #48B125 #2548B1
tetradic
#B12548 #8EB125 #25B18E #4825B1
square
#B12548 #8EB125 #25B18E #4825B1
split-complementary
#B12548 #25B148 #258EB1
monochromatic
#4C101F #7E1A33 #B12548 #D63D63 #E16F8C

Accessibility & contrast

On white

6.51
#B12548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B12548 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12548
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12548#FFFFFF#000000##FFFFFF
##B125481.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C48
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#C20034
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12548;
/* rgb */ color: rgb(177, 37, 72);
/* oklch */ color: oklch(50.4% 0.175 12.5);
Tailwind
colors: {
  custom: {
    50: '#cf6e7a',
    500: '#b12548',
    950: '#000000',
  },
}
SCSS
$custom: #b12548;
$custom-light: #cf6e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b12548",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 345,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.17501,
    "h": 12.5
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#B12548
secondary
#6AC8B0
accent
#E8BE3F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B12548

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

Preview Lab → · Contrast checker → · Palette generator →

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