#BA3D38#BA3D38

#BA3D38 is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.9% C 0.162 H 26.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BA3D38
RGBrgb(186, 61, 56)
HSLhsl(2, 54%, 47%)
HSVhsv(2, 70%, 73%)
CMYKcmyk(0%, 67.2%, 69.9%, 27.1%)
CIE-LABlab(44.33, 49.89, 31.15)
CIE-LCHlch(44.33, 58.82, 31.98°)
OKLaboklab(53.92% 0.145 0.0719)
OKLCHoklch(53.92% 0.162 26.4)
XYZxyz(22.6347, 14.0654, 5.2636)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D38 #38B5BA
analogous
#BA3874 #BA3D38 #BA7E38
triadic
#BA3D38 #38BA3D #3D38BA
tetradic
#BA3D38 #74BA38 #38B5BA #7E38BA
square
#BA3D38 #74BA38 #38B5BA #7E38BA
split-complementary
#BA3D38 #38BA7E #3874BA
monochromatic
#5C1E1C #8B2E2A #BA3D38 #CF6460 #DD928F

Accessibility & contrast

On white

5.51
#BA3D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA3D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D38
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D38#FFFFFF#000000##FFFFFF
##BA3D381.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605836
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#CC1B3D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3d38;
/* rgb */ color: rgb(186, 61, 56);
/* oklch */ color: oklch(53.9% 0.162 26.4);
Tailwind
colors: {
  custom: {
    50: '#d67a6f',
    500: '#ba3d38',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d38;
$custom-light: #d67a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d38",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 56
  },
  "hsl": {
    "h": 2.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.16187,
    "h": 26.4
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#BA3D38
secondary
#86C5C8
accent
#D7DD4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA3D38

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

Preview Lab → · Contrast checker → · Palette generator →

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