#BA2F35#BA2F35

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

Color values

HEX#BA2F35
RGBrgb(186, 47, 53)
HSLhsl(357, 60%, 46%)
HSVhsv(357, 75%, 73%)
CMYKcmyk(0%, 74.7%, 71.5%, 27.1%)
CIE-LABlab(42.36, 55.04, 30.60)
CIE-LCHlch(42.36, 62.98, 29.07°)
OKLaboklab(52.44% 0.1607 0.0701)
OKLCHoklch(52.44% 0.175 23.6)
XYZxyz(21.9113, 12.7325, 4.6714)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F35 #2FBAB4
analogous
#BA2F7A #BA2F35 #BA6E2F
triadic
#BA2F35 #35BA2F #2F35BA
tetradic
#BA2F35 #7ABA2F #2FBAB4 #6E2FBA
square
#BA2F35 #7ABA2F #2FBAB4 #6E2FBA
split-complementary
#BA2F35 #2FBA6E #2F7ABA
monochromatic
#581619 #892327 #BA2F35 #D35358 #E08488

Accessibility & contrast

On white

5.92
#BA2F35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#BA2F35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F35
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F35#FFFFFF#000000##FFFFFF
##BA2F351.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2f35;
/* rgb */ color: rgb(186, 47, 53);
/* oklch */ color: oklch(52.4% 0.175 23.6);
Tailwind
colors: {
  custom: {
    50: '#d7736c',
    500: '#ba2f35',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f35;
$custom-light: #d7736c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f35",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 53
  },
  "hsl": {
    "h": 357.41,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.17533,
    "h": 23.6
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#BA2F35
secondary
#7CC9C6
accent
#E3DC45
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA2F35

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

Preview Lab → · Contrast checker → · Palette generator →

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