#BA2D30#BA2D30

#BA2D30 is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.2% C 0.178 H 24.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#BA2D30
RGBrgb(186, 45, 48)
HSLhsl(359, 61%, 45%)
HSVhsv(359, 76%, 73%)
CMYKcmyk(0%, 75.8%, 74.2%, 27.1%)
CIE-LABlab(42.05, 55.49, 33.21)
CIE-LCHlch(42.05, 64.67, 30.90°)
OKLaboklab(52.19% 0.161 0.0748)
OKLCHoklch(52.19% 0.178 24.9)
XYZxyz(21.7241, 12.5327, 4.0709)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D30 #2DBAB7
analogous
#BA2D77 #BA2D30 #BA702D
triadic
#BA2D30 #30BA2D #2D30BA
tetradic
#BA2D30 #77BA2D #2DBAB7 #702DBA
square
#BA2D30 #77BA2D #2DBAB7 #702DBA
split-complementary
#BA2D30 #2DBA70 #2D77BA
monochromatic
#571517 #892123 #BA2D30 #D55052 #E08183

Accessibility & contrast

On white

5.99
#BA2D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#BA2D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D30
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D30#FFFFFF#000000##FFFFFF
##BA2D301.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57502F
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#CD0030
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2d30;
/* rgb */ color: rgb(186, 45, 48);
/* oklch */ color: oklch(52.2% 0.178 24.9);
Tailwind
colors: {
  custom: {
    50: '#d77268',
    500: '#ba2d30',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d30;
$custom-light: #d77268;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d30",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 48
  },
  "hsl": {
    "h": 358.723,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.17755,
    "h": 24.9
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#BA2D30
secondary
#79C9C8
accent
#E4E144
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA2D30

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

Preview Lab → · Contrast checker → · Palette generator →

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