#BA2F32#BA2F32

#BA2F32 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.176 H 24.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA2F32
RGBrgb(186, 47, 50)
HSLhsl(359, 60%, 46%)
HSVhsv(359, 75%, 73%)
CMYKcmyk(0%, 74.7%, 73.1%, 27.1%)
CIE-LABlab(42.32, 54.91, 32.34)
CIE-LCHlch(42.32, 63.72, 30.50°)
OKLaboklab(52.4% 0.1596 0.0733)
OKLCHoklch(52.4% 0.176 24.7)
XYZxyz(21.8444, 12.7058, 4.3192)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F32 #2FBAB7
analogous
#BA2F77 #BA2F32 #BA712F
triadic
#BA2F32 #32BA2F #2F32BA
tetradic
#BA2F32 #77BA2F #2FBAB7 #712FBA
square
#BA2F32 #77BA2F #2FBAB7 #712FBA
split-complementary
#BA2F32 #2FBA71 #2F77BA
monochromatic
#581618 #892325 #BA2F32 #D35356 #E08486

Accessibility & contrast

On white

5.93
#BA2F32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA2F32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F32
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F32#FFFFFF#000000##FFFFFF
##BA2F321.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585131
Deuteranopia (green-blind)
#7B6F2D
Tritanopia (blue-blind)
#CD0032
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2f32;
/* rgb */ color: rgb(186, 47, 50);
/* oklch */ color: oklch(52.4% 0.176 24.7);
Tailwind
colors: {
  custom: {
    50: '#d7736a',
    500: '#ba2f32',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f32;
$custom-light: #d7736a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f32",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 50
  },
  "hsl": {
    "h": 358.705,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.17565,
    "h": 24.7
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#BA2F32
secondary
#7CC9C7
accent
#E3DF45
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA2F32

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

Preview Lab → · Contrast checker → · Palette generator →

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