#BA2D39#BA2D39

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

Color values

HEX#BA2D39
RGBrgb(186, 45, 57)
HSLhsl(355, 61%, 45%)
HSVhsv(355, 76%, 73%)
CMYKcmyk(0%, 75.8%, 69.4%, 27.1%)
CIE-LABlab(42.18, 55.90, 27.97)
CIE-LCHlch(42.18, 62.51, 26.58°)
OKLaboklab(52.32% 0.1643 0.065)
OKLCHoklch(52.32% 0.177 21.6)
XYZxyz(21.9291, 12.6146, 5.1503)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D39 #2DBAAE
analogous
#BA2D7F #BA2D39 #BA682D
triadic
#BA2D39 #39BA2D #2D39BA
tetradic
#BA2D39 #7FBA2D #2DBAAE #682DBA
square
#BA2D39 #7FBA2D #2DBAAE #682DBA
split-complementary
#BA2D39 #2DBA68 #2D7FBA
monochromatic
#57151B #89212A #BA2D39 #D5505B #E08189

Accessibility & contrast

On white

5.96
#BA2D39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2D39
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D39#FFFFFF#000000##FFFFFF
##BA2D391.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565038
Deuteranopia (green-blind)
#7A6E34
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2d39;
/* rgb */ color: rgb(186, 45, 57);
/* oklch */ color: oklch(52.3% 0.177 21.6);
Tailwind
colors: {
  custom: {
    50: '#d7726f',
    500: '#ba2d39',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d39;
$custom-light: #d7726f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d39",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 57
  },
  "hsl": {
    "h": 354.894,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52323,
    "c": 0.17671,
    "h": 21.6
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2D39

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

Preview Lab → · Contrast checker → · Palette generator →

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