#BA4238#BA4238

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

Color values

HEX#BA4238
RGBrgb(186, 66, 56)
HSLhsl(5, 54%, 47%)
HSVhsv(5, 70%, 73%)
CMYKcmyk(0%, 64.5%, 69.9%, 27.1%)
CIE-LABlab(45.12, 47.76, 32.09)
CIE-LCHlch(45.12, 57.54, 33.89°)
OKLaboklab(54.51% 0.1384 0.0739)
OKLCHoklch(54.51% 0.157 28.1)
XYZxyz(22.9141, 14.6243, 5.3568)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4238 #38B0BA
analogous
#BA386F #BA4238 #BA8338
triadic
#BA4238 #38BA42 #4238BA
tetradic
#BA4238 #6FBA38 #38B0BA #8338BA
square
#BA4238 #6FBA38 #38B0BA #8338BA
split-complementary
#BA4238 #38BA83 #386FBA
monochromatic
#5C211C #8B312A #BA4238 #CF6960 #DD958F

Accessibility & contrast

On white

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

On black

3.92
#BA4238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4238#FFFFFF#000000##FFFFFF
##BA42381.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A36
Deuteranopia (green-blind)
#817434
Tritanopia (blue-blind)
#CC2440
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba4238;
/* rgb */ color: rgb(186, 66, 56);
/* oklch */ color: oklch(54.5% 0.157 28.1);
Tailwind
colors: {
  custom: {
    50: '#d67c6f',
    500: '#ba4238',
    950: '#000000',
  },
}
SCSS
$custom: #ba4238;
$custom-light: #d67c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4238",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 56
  },
  "hsl": {
    "h": 4.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.15686,
    "h": 28.1
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#BA4238
secondary
#86C3C8
accent
#D2DD4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA4238

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

Preview Lab → · Contrast checker → · Palette generator →

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