#B12843#B12843

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

Color values

HEX#B12843
RGBrgb(177, 40, 67)
HSLhsl(348, 63%, 43%)
HSVhsv(348, 77%, 69%)
CMYKcmyk(0%, 77.4%, 62.1%, 30.6%)
CIE-LABlab(40.04, 55.39, 18.70)
CIE-LCHlch(40.04, 58.46, 18.66°)
OKLaboklab(50.48% 0.166 0.0455)
OKLCHoklch(50.48% 0.172 15.3)
XYZxyz(19.9055, 11.2729, 6.4369)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12843 #28B196
analogous
#B12888 #B12843 #B15128
triadic
#B12843 #43B128 #2843B1
tetradic
#B12843 #88B128 #28B196 #5128B1
square
#B12843 #88B128 #28B196 #5128B1
split-complementary
#B12843 #28B151 #2888B1
monochromatic
#4D111D #7F1D30 #B12843 #D4425F #E07489

Accessibility & contrast

On white

6.45
#B12843 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12843
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12843#FFFFFF#000000##FFFFFF
##B128431.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C43
Deuteranopia (green-blind)
#72693F
Tritanopia (blue-blind)
#C20034
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12843;
/* rgb */ color: rgb(177, 40, 67);
/* oklch */ color: oklch(50.5% 0.172 15.3);
Tailwind
colors: {
  custom: {
    50: '#d06f76',
    500: '#b12843',
    950: '#000000',
  },
}
SCSS
$custom: #b12843;
$custom-light: #d06f76;
$custom-dark: #000000;
JSON
{
  "hex": "#b12843",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 67
  },
  "hsl": {
    "h": 348.175,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50479,
    "c": 0.17209,
    "h": 15.3
  },
  "luminance": 0.1127
}

Semantic roles & 50–950 ramp

primary
#B12843
secondary
#6EC7B5
accent
#E6C642
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12843

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

Preview Lab → · Contrast checker → · Palette generator →

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