#BA2D38#BA2D38

#BA2D38 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.3% C 0.177 H 22.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#BA2D38
RGBrgb(186, 45, 56)
HSLhsl(355, 61%, 45%)
HSVhsv(355, 76%, 73%)
CMYKcmyk(0%, 75.8%, 69.9%, 27.1%)
CIE-LABlab(42.16, 55.85, 28.56)
CIE-LCHlch(42.16, 62.73, 27.08°)
OKLaboklab(52.31% 0.1639 0.0662)
OKLCHoklch(52.31% 0.177 22)
XYZxyz(21.9044, 12.6048, 5.0202)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D38 #2DBAAF
analogous
#BA2D7F #BA2D38 #BA682D
triadic
#BA2D38 #38BA2D #2D38BA
tetradic
#BA2D38 #7FBA2D #2DBAAF #682DBA
square
#BA2D38 #7FBA2D #2DBAAF #682DBA
split-complementary
#BA2D38 #2DBA68 #2D7FBA
monochromatic
#57151A #892129 #BA2D38 #D5505A #E08188

Accessibility & contrast

On white

5.97
#BA2D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA2D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D38
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D38#FFFFFF#000000##FFFFFF
##BA2D381.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575037
Deuteranopia (green-blind)
#7A6E33
Tritanopia (blue-blind)
#CD0032
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2d38;
/* rgb */ color: rgb(186, 45, 56);
/* oklch */ color: oklch(52.3% 0.177 22.0);
Tailwind
colors: {
  custom: {
    50: '#d7726e',
    500: '#ba2d38',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d38;
$custom-light: #d7726e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d38",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 56
  },
  "hsl": {
    "h": 355.319,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.17679,
    "h": 22
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#BA2D38
secondary
#79C9C3
accent
#E4D844
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA2D38

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

Preview Lab → · Contrast checker → · Palette generator →

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