#B12040#B12040

#B12040 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.8% C 0.178 H 15.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B12040
RGBrgb(177, 32, 64)
HSLhsl(347, 69%, 41%)
HSVhsv(347, 82%, 69%)
CMYKcmyk(0%, 81.9%, 63.8%, 30.6%)
CIE-LABlab(39.16, 57.51, 19.45)
CIE-LCHlch(39.16, 60.71, 18.68°)
OKLaboklab(49.81% 0.1722 0.047)
OKLCHoklch(49.81% 0.178 15.3)
XYZxyz(19.5755, 10.7533, 5.8943)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12040 #20B191
analogous
#B12088 #B12040 #B14920
triadic
#B12040 #40B120 #2040B1
tetradic
#B12040 #88B120 #20B191 #4920B1
square
#B12040 #88B120 #20B191 #4920B1
split-complementary
#B12040 #20B149 #2088B1
monochromatic
#490D1B #7D172D #B12040 #DA3459 #E46883

Accessibility & contrast

On white

6.67
#B12040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#B12040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12040
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12040#FFFFFF#000000##FFFFFF
##B120401.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4940
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#C2002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b12040;
/* rgb */ color: rgb(177, 32, 64);
/* oklch */ color: oklch(49.8% 0.178 15.3);
Tailwind
colors: {
  custom: {
    50: '#d06c74',
    500: '#b12040',
    950: '#000000',
  },
}
SCSS
$custom: #b12040;
$custom-light: #d06c74;
$custom-dark: #000000;
JSON
{
  "hex": "#b12040",
  "rgb": {
    "r": 177,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 346.759,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49813,
    "c": 0.17849,
    "h": 15.3
  },
  "luminance": 0.1075
}

Semantic roles & 50–950 ramp

primary
#B12040
secondary
#64C9B3
accent
#ECC53C
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B12040

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

Preview Lab → · Contrast checker → · Palette generator →

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