#BA4239#BA4239

#BA4239 is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.5% C 0.157 H 27.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA4239
RGBrgb(186, 66, 57)
HSLhsl(4, 53%, 48%)
HSVhsv(4, 69%, 73%)
CMYKcmyk(0%, 64.5%, 69.4%, 27.1%)
CIE-LABlab(45.13, 47.81, 31.52)
CIE-LCHlch(45.13, 57.27, 33.40°)
OKLaboklab(54.53% 0.1387 0.0729)
OKLCHoklch(54.53% 0.157 27.7)
XYZxyz(22.9388, 14.6342, 5.4869)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4239 #39B1BA
analogous
#BA3971 #BA4239 #BA8239
triadic
#BA4239 #39BA42 #4239BA
tetradic
#BA4239 #71BA39 #39B1BA #8239BA
square
#BA4239 #71BA39 #39B1BA #8239BA
split-complementary
#BA4239 #39BA82 #3971BA
monochromatic
#5C211C #8B312B #BA4239 #CF6961 #DD9690

Accessibility & contrast

On white

5.35
#BA4239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA4239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4239
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4239#FFFFFF#000000##FFFFFF
##BA42391.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A37
Deuteranopia (green-blind)
#817435
Tritanopia (blue-blind)
#CC2541
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba4239;
/* rgb */ color: rgb(186, 66, 57);
/* oklch */ color: oklch(54.5% 0.157 27.7);
Tailwind
colors: {
  custom: {
    50: '#d67c70',
    500: '#ba4239',
    950: '#000000',
  },
}
SCSS
$custom: #ba4239;
$custom-light: #d67c70;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4239",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 57
  },
  "hsl": {
    "h": 4.186,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.15668,
    "h": 27.7
  },
  "luminance": 0.14631
}

Semantic roles & 50–950 ramp

primary
#BA4239
secondary
#87C3C8
accent
#D2DC4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA4239

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

Preview Lab → · Contrast checker → · Palette generator →

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