#B12640#B12640

#B12640 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.3% C 0.174 H 16.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B12640
RGBrgb(177, 38, 64)
HSLhsl(349, 65%, 42%)
HSVhsv(349, 79%, 69%)
CMYKcmyk(0%, 78.5%, 63.8%, 30.6%)
CIE-LABlab(39.76, 55.82, 20.23)
CIE-LCHlch(39.76, 59.37, 19.92°)
OKLaboklab(50.26% 0.1668 0.0488)
OKLCHoklch(50.26% 0.174 16.3)
XYZxyz(19.7521, 11.1065, 5.9532)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12640 #26B197
analogous
#B12686 #B12640 #B15226
triadic
#B12640 #40B126 #2640B1
tetradic
#B12640 #86B126 #26B197 #5226B1
square
#B12640 #86B126 #26B197 #5226B1
split-complementary
#B12640 #26B152 #2686B1
monochromatic
#4C101C #7F1B2E #B12640 #D63F5B #E07186

Accessibility & contrast

On white

6.52
#B12640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B12640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12640
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12640#FFFFFF#000000##FFFFFF
##B126401.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B40
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#C20031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12640;
/* rgb */ color: rgb(177, 38, 64);
/* oklch */ color: oklch(50.3% 0.174 16.3);
Tailwind
colors: {
  custom: {
    50: '#d06e74',
    500: '#b12640',
    950: '#000000',
  },
}
SCSS
$custom: #b12640;
$custom-light: #d06e74;
$custom-dark: #000000;
JSON
{
  "hex": "#b12640",
  "rgb": {
    "r": 177,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 348.777,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.17374,
    "h": 16.3
  },
  "luminance": 0.11104
}

Semantic roles & 50–950 ramp

primary
#B12640
secondary
#6BC7B6
accent
#E8C840
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12640

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

Preview Lab → · Contrast checker → · Palette generator →

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