#BA2F33#BA2F33

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

Color values

HEX#BA2F33
RGBrgb(186, 47, 51)
HSLhsl(358, 60%, 46%)
HSVhsv(358, 75%, 73%)
CMYKcmyk(0%, 74.7%, 72.6%, 27.1%)
CIE-LABlab(42.33, 54.95, 31.76)
CIE-LCHlch(42.33, 63.47, 30.03°)
OKLaboklab(52.41% 0.16 0.0723)
OKLCHoklch(52.41% 0.176 24.3)
XYZxyz(21.8663, 12.7145, 4.4341)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F33 #2FBAB6
analogous
#BA2F79 #BA2F33 #BA702F
triadic
#BA2F33 #33BA2F #2F33BA
tetradic
#BA2F33 #79BA2F #2FBAB6 #702FBA
square
#BA2F33 #79BA2F #2FBAB6 #702FBA
split-complementary
#BA2F33 #2FBA70 #2F79BA
monochromatic
#581618 #892326 #BA2F33 #D35356 #E08486

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2F33#FFFFFF#000000##FFFFFF
##BA2F331.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)
#585132
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#CD0032
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2f33;
/* rgb */ color: rgb(186, 47, 51);
/* oklch */ color: oklch(52.4% 0.176 24.3);
Tailwind
colors: {
  custom: {
    50: '#d7736b',
    500: '#ba2f33',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f33;
$custom-light: #d7736b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f33",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 51
  },
  "hsl": {
    "h": 358.273,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52409,
    "c": 0.17554,
    "h": 24.3
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2F33

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

Preview Lab → · Contrast checker → · Palette generator →

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