#B42727#B42727

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

Color values

HEX#B42727
RGBrgb(180, 39, 39)
HSLhsl(0, 64%, 43%)
HSVhsv(0, 78%, 71%)
CMYKcmyk(0%, 78.3%, 78.3%, 29.4%)
CIE-LABlab(40.09, 55.22, 35.95)
CIE-LCHlch(40.09, 65.89, 33.06°)
OKLaboklab(50.49% 0.159 0.0788)
OKLCHoklch(50.49% 0.177 26.4)
XYZxyz(19.9165, 11.3040, 3.0523)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42727 #27B4B4
analogous
#B4276D #B42727 #B46D27
triadic
#B42727 #27B427 #2727B4
tetradic
#B42727 #6DB427 #27B4B4 #6D27B4
square
#B42727 #6DB427 #27B4B4 #6D27B4
split-complementary
#B42727 #27B46D #276DB4
monochromatic
#4F1111 #821C1C #B42727 #D64242 #E17474

Accessibility & contrast

On white

6.44
#B42727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B42727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42727
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42727#FFFFFF#000000##FFFFFF
##B427271.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B25
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#C60029
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42727;
/* rgb */ color: rgb(180, 39, 39);
/* oklch */ color: oklch(50.5% 0.177 26.4);
Tailwind
colors: {
  custom: {
    50: '#d46e62',
    500: '#b42727',
    950: '#000000',
  },
}
SCSS
$custom: #b42727;
$custom-light: #d46e62;
$custom-dark: #000000;
JSON
{
  "hex": "#b42727",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 39
  },
  "hsl": {
    "h": 0,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.17745,
    "h": 26.4
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#B42727
secondary
#6FC8C8
accent
#E7E740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B42727

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

Preview Lab → · Contrast checker → · Palette generator →

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