#B12440#B12440

#B12440 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.175 H 15.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B12440
RGBrgb(177, 36, 64)
HSLhsl(348, 66%, 42%)
HSVhsv(348, 80%, 69%)
CMYKcmyk(0%, 79.7%, 63.8%, 30.6%)
CIE-LABlab(39.55, 56.41, 19.96)
CIE-LCHlch(39.55, 59.84, 19.48°)
OKLaboklab(50.1% 0.1687 0.0481)
OKLCHoklch(50.1% 0.175 15.9)
XYZxyz(19.6899, 10.9820, 5.9325)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12440 #24B195
analogous
#B12487 #B12440 #B14F24
triadic
#B12440 #40B124 #2440B1
tetradic
#B12440 #87B124 #24B195 #4F24B1
square
#B12440 #87B124 #24B195 #4F24B1
split-complementary
#B12440 #24B14F #2487B1
monochromatic
#4B0F1B #7E1A2E #B12440 #D73B5A #E16E85

Accessibility & contrast

On white

6.57
#B12440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B12440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12440
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12440#FFFFFF#000000##FFFFFF
##B124401.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A40
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#C20030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b12440;
/* rgb */ color: rgb(177, 36, 64);
/* oklch */ color: oklch(50.1% 0.175 15.9);
Tailwind
colors: {
  custom: {
    50: '#d06d74',
    500: '#b12440',
    950: '#000000',
  },
}
SCSS
$custom: #b12440;
$custom-light: #d06d74;
$custom-dark: #000000;
JSON
{
  "hex": "#b12440",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 64
  },
  "hsl": {
    "h": 348.085,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.501,
    "c": 0.17538,
    "h": 15.9
  },
  "luminance": 0.10979
}

Semantic roles & 50–950 ramp

primary
#B12440
secondary
#69C8B5
accent
#E9C73F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12440

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

Preview Lab → · Contrast checker → · Palette generator →

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