#BA4039#BA4039

#BA4039 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.3% C 0.159 H 27.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA4039
RGBrgb(186, 64, 57)
HSLhsl(3, 53%, 48%)
HSVhsv(3, 69%, 73%)
CMYKcmyk(0%, 65.6%, 69.4%, 27.1%)
CIE-LABlab(44.81, 48.68, 31.14)
CIE-LCHlch(44.81, 57.79, 32.61°)
OKLaboklab(54.29% 0.1414 0.072)
OKLCHoklch(54.29% 0.159 27)
XYZxyz(22.8240, 14.4045, 5.4486)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4039 #39B3BA
analogous
#BA3972 #BA4039 #BA8139
triadic
#BA4039 #39BA40 #4039BA
tetradic
#BA4039 #72BA39 #39B3BA #8139BA
square
#BA4039 #72BA39 #39B3BA #8139BA
split-complementary
#BA4039 #39BA81 #3972BA
monochromatic
#5C201C #8B302B #BA4039 #CF6761 #DD9490

Accessibility & contrast

On white

5.41
#BA4039 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA4039 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4039
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4039#FFFFFF#000000##FFFFFF
##BA40391.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615937
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#CC213F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba4039;
/* rgb */ color: rgb(186, 64, 57);
/* oklch */ color: oklch(54.3% 0.159 27.0);
Tailwind
colors: {
  custom: {
    50: '#d67b6f',
    500: '#ba4039',
    950: '#000000',
  },
}
SCSS
$custom: #ba4039;
$custom-light: #d67b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4039",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 57
  },
  "hsl": {
    "h": 3.256,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54288,
    "c": 0.15871,
    "h": 27
  },
  "luminance": 0.14401
}

Semantic roles & 50–950 ramp

primary
#BA4039
secondary
#87C4C8
accent
#D5DC4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA4039

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

Preview Lab → · Contrast checker → · Palette generator →

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