#B12748#B12748

#B12748 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.173 H 12.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B12748
RGBrgb(177, 39, 72)
HSLhsl(346, 64%, 42%)
HSVhsv(346, 78%, 69%)
CMYKcmyk(0%, 78%, 59.3%, 30.6%)
CIE-LABlab(40.03, 56.03, 15.54)
CIE-LCHlch(40.03, 58.14, 15.50°)
OKLaboklab(50.51% 0.169 0.0385)
OKLCHoklch(50.51% 0.173 12.8)
XYZxyz(20.0287, 11.2690, 7.2501)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12748 #27B190
analogous
#B1278D #B12748 #B14B27
triadic
#B12748 #48B127 #2748B1
tetradic
#B12748 #8DB127 #27B190 #4B27B1
square
#B12748 #8DB127 #27B190 #4B27B1
split-complementary
#B12748 #27B14B #278DB1
monochromatic
#4D111F #7F1C34 #B12748 #D54064 #E0728D

Accessibility & contrast

On white

6.46
#B12748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B12748 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12748
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12748#FFFFFF#000000##FFFFFF
##B127481.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C48
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#C20035
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12748;
/* rgb */ color: rgb(177, 39, 72);
/* oklch */ color: oklch(50.5% 0.173 12.8);
Tailwind
colors: {
  custom: {
    50: '#cf6f7a',
    500: '#b12748',
    950: '#000000',
  },
}
SCSS
$custom: #b12748;
$custom-light: #cf6f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b12748",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 72
  },
  "hsl": {
    "h": 345.652,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50508,
    "c": 0.17327,
    "h": 12.8
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#B12748
secondary
#6DC7B1
accent
#E7BF41
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B12748

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

Preview Lab → · Contrast checker → · Palette generator →

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