#B12340#B12340

#B12340 is a mid, vivid red. Relative luminance 0.109; OKLCH L 50.0% C 0.176 H 15.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B12340
RGBrgb(177, 35, 64)
HSLhsl(348, 67%, 42%)
HSVhsv(348, 80%, 69%)
CMYKcmyk(0%, 80.2%, 63.8%, 30.6%)
CIE-LABlab(39.45, 56.69, 19.82)
CIE-LCHlch(39.45, 60.06, 19.27°)
OKLaboklab(50.03% 0.1696 0.0478)
OKLCHoklch(50.03% 0.176 15.8)
XYZxyz(19.6600, 10.9223, 5.9225)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12340 #23B194
analogous
#B12387 #B12340 #B14D23
triadic
#B12340 #40B123 #2340B1
tetradic
#B12340 #87B123 #23B194 #4D23B1
square
#B12340 #87B123 #23B194 #4D23B1
split-complementary
#B12340 #23B14D #2387B1
monochromatic
#4B0F1B #7E192E #B12340 #D8395A #E26C84

Accessibility & contrast

On white

6.60
#B12340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B12340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12340
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12340#FFFFFF#000000##FFFFFF
##B123401.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12340;
/* rgb */ color: rgb(177, 35, 64);
/* oklch */ color: oklch(50.0% 0.176 15.8);
Tailwind
colors: {
  custom: {
    50: '#d06d74',
    500: '#b12340',
    950: '#000000',
  },
}
SCSS
$custom: #b12340;
$custom-light: #d06d74;
$custom-dark: #000000;
JSON
{
  "hex": "#b12340",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 347.746,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.17619,
    "h": 15.8
  },
  "luminance": 0.10919
}

Semantic roles & 50–950 ramp

primary
#B12340
secondary
#68C8B4
accent
#EAC73E
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12340

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

Preview Lab → · Contrast checker → · Palette generator →

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