#BA2F30#BA2F30

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

Color values

HEX#BA2F30
RGBrgb(186, 47, 48)
HSLhsl(360, 60%, 46%)
HSVhsv(360, 75%, 73%)
CMYKcmyk(0%, 74.7%, 74.2%, 27.1%)
CIE-LABlab(42.29, 54.82, 33.48)
CIE-LCHlch(42.29, 64.24, 31.42°)
OKLaboklab(52.37% 0.1589 0.0754)
OKLCHoklch(52.37% 0.176 25.4)
XYZxyz(21.8022, 12.6889, 4.0969)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F30 #2FBAB9
analogous
#BA2F76 #BA2F30 #BA732F
triadic
#BA2F30 #30BA2F #2F30BA
tetradic
#BA2F30 #76BA2F #2FBAB9 #732FBA
square
#BA2F30 #76BA2F #2FBAB9 #732FBA
split-complementary
#BA2F30 #2FBA73 #2F76BA
monochromatic
#581617 #892323 #BA2F30 #D35354 #E08484

Accessibility & contrast

On white

5.94
#BA2F30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2F30
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F30#FFFFFF#000000##FFFFFF
##BA2F301.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58512E
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#CD0031
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2f30;
/* rgb */ color: rgb(186, 47, 48);
/* oklch */ color: oklch(52.4% 0.176 25.4);
Tailwind
colors: {
  custom: {
    50: '#d77368',
    500: '#ba2f30',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f30;
$custom-light: #d77368;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f30",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 48
  },
  "hsl": {
    "h": 359.568,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.17588,
    "h": 25.4
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#BA2F30
secondary
#7CC9C9
accent
#E3E245
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA2F30

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

Preview Lab → · Contrast checker → · Palette generator →

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