#BA2F29#BA2F29

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

Color values

HEX#BA2F29
RGBrgb(186, 47, 41)
HSLhsl(2, 64%, 45%)
HSVhsv(2, 78%, 73%)
CMYKcmyk(0%, 74.7%, 78%, 27.1%)
CIE-LABlab(42.21, 54.55, 37.41)
CIE-LCHlch(42.21, 66.14, 34.44°)
OKLaboklab(52.28% 0.1566 0.0821)
OKLCHoklch(52.28% 0.177 27.7)
XYZxyz(21.6690, 12.6356, 3.3953)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F29 #29B4BA
analogous
#BA296B #BA2F29 #BA7829
triadic
#BA2F29 #29BA2F #2F29BA
tetradic
#BA2F29 #6BBA29 #29B4BA #7829BA
square
#BA2F29 #6BBA29 #29B4BA #7829BA
split-complementary
#BA2F29 #29BA78 #296BBA
monochromatic
#561613 #88221E #BA2F29 #D74F49 #E2807B

Accessibility & contrast

On white

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

On black

3.53
#BA2F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2F29#FFFFFF#000000##FFFFFF
##BA2F291.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595027
Deuteranopia (green-blind)
#7B6F23
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2f29;
/* rgb */ color: rgb(186, 47, 41);
/* oklch */ color: oklch(52.3% 0.177 27.7);
Tailwind
colors: {
  custom: {
    50: '#d87264',
    500: '#ba2f29',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f29;
$custom-light: #d87264;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f29",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 41
  },
  "hsl": {
    "h": 2.483,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.17678,
    "h": 27.7
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#BA2F29
secondary
#75C7CA
accent
#E0E741
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA2F29

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

Preview Lab → · Contrast checker → · Palette generator →

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