#B12F45#B12F45

#B12F45 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.166 H 15.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B12F45
RGBrgb(177, 47, 69)
HSLhsl(350, 58%, 44%)
HSVhsv(350, 73%, 69%)
CMYKcmyk(0%, 73.4%, 61%, 30.6%)
CIE-LABlab(40.92, 53.17, 18.61)
CIE-LCHlch(40.92, 56.33, 19.29°)
OKLaboklab(51.15% 0.1592 0.0454)
OKLCHoklch(51.15% 0.166 15.9)
XYZxyz(20.2242, 11.8127, 6.8442)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F45 #2FB19B
analogous
#B12F86 #B12F45 #B15A2F
triadic
#B12F45 #45B12F #2F45B1
tetradic
#B12F45 #86B12F #2FB19B #5A2FB1
square
#B12F45 #86B12F #2FB19B #5A2FB1
split-complementary
#B12F45 #2FB15A #2F86B1
monochromatic
#50151F #812232 #B12F45 #D04D63 #DD7E8E

Accessibility & contrast

On white

6.25
#B12F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B12F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F45
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F45#FFFFFF#000000##FFFFFF
##B12F451.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F45
Deuteranopia (green-blind)
#736A42
Tritanopia (blue-blind)
#C20338
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12f45;
/* rgb */ color: rgb(177, 47, 69);
/* oklch */ color: oklch(51.1% 0.166 15.9);
Tailwind
colors: {
  custom: {
    50: '#cf7278',
    500: '#b12f45',
    950: '#000000',
  },
}
SCSS
$custom: #b12f45;
$custom-light: #cf7278;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f45",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 349.846,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51145,
    "c": 0.16558,
    "h": 15.9
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#B12F45
secondary
#76C5B8
accent
#E1C747
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B12F45

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

Preview Lab → · Contrast checker → · Palette generator →

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