#B12F41#B12F41

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

Color values

HEX#B12F41
RGBrgb(177, 47, 65)
HSLhsl(352, 58%, 44%)
HSVhsv(352, 73%, 69%)
CMYKcmyk(0%, 73.4%, 63.3%, 30.6%)
CIE-LABlab(40.84, 52.91, 21.01)
CIE-LCHlch(40.84, 56.93, 21.65°)
OKLaboklab(51.06% 0.1576 0.0506)
OKLCHoklch(51.06% 0.166 17.8)
XYZxyz(20.1042, 11.7647, 6.2122)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F41 #2FB19F
analogous
#B12F82 #B12F41 #B15E2F
triadic
#B12F41 #41B12F #2F41B1
tetradic
#B12F41 #82B12F #2FB19F #5E2FB1
square
#B12F41 #82B12F #2FB19F #5E2FB1
split-complementary
#B12F41 #2FB15E #2F82B1
monochromatic
#50151D #81222F #B12F41 #D04D5F #DD7E8B

Accessibility & contrast

On white

6.26
#B12F41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B12F41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F41
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F41#FFFFFF#000000##FFFFFF
##B12F411.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F41
Deuteranopia (green-blind)
#746A3D
Tritanopia (blue-blind)
#C20037
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12f41;
/* rgb */ color: rgb(177, 47, 65);
/* oklch */ color: oklch(51.1% 0.166 17.8);
Tailwind
colors: {
  custom: {
    50: '#cf7275',
    500: '#b12f41',
    950: '#000000',
  },
}
SCSS
$custom: #b12f41;
$custom-light: #cf7275;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f41",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 65
  },
  "hsl": {
    "h": 351.692,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51062,
    "c": 0.16556,
    "h": 17.8
  },
  "luminance": 0.11762
}

Semantic roles & 50–950 ramp

primary
#B12F41
secondary
#76C5BA
accent
#E1CC47
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12F41

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

Preview Lab → · Contrast checker → · Palette generator →

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