#BA2F36#BA2F36

#BA2F36 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.5% C 0.175 H 23.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#BA2F36
RGBrgb(186, 47, 54)
HSLhsl(357, 60%, 46%)
HSVhsv(357, 75%, 73%)
CMYKcmyk(0%, 74.7%, 71%, 27.1%)
CIE-LABlab(42.37, 55.09, 30.02)
CIE-LCHlch(42.37, 62.74, 28.59°)
OKLaboklab(52.45% 0.1611 0.069)
OKLCHoklch(52.45% 0.175 23.2)
XYZxyz(21.9345, 12.7418, 4.7938)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F36 #2FBAB3
analogous
#BA2F7C #BA2F36 #BA6D2F
triadic
#BA2F36 #36BA2F #2F36BA
tetradic
#BA2F36 #7CBA2F #2FBAB3 #6D2FBA
square
#BA2F36 #7CBA2F #2FBAB3 #6D2FBA
split-complementary
#BA2F36 #2FBA6D #2F7CBA
monochromatic
#58161A #892328 #BA2F36 #D35359 #E08488

Accessibility & contrast

On white

5.92
#BA2F36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#BA2F36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F36
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F36#FFFFFF#000000##FFFFFF
##BA2F361.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585135
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2f36;
/* rgb */ color: rgb(186, 47, 54);
/* oklch */ color: oklch(52.5% 0.175 23.2);
Tailwind
colors: {
  custom: {
    50: '#d7736d',
    500: '#ba2f36',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f36;
$custom-light: #d7736d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f36",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 54
  },
  "hsl": {
    "h": 356.978,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.17524,
    "h": 23.2
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#BA2F36
secondary
#7CC9C5
accent
#E3DB45
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA2F36

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

Preview Lab → · Contrast checker → · Palette generator →

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