#BA423C#BA423C

#BA423C is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.6% C 0.156 H 26.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BA423C
RGBrgb(186, 66, 60)
HSLhsl(3, 51%, 48%)
HSVhsv(3, 68%, 73%)
CMYKcmyk(0%, 64.5%, 67.7%, 27.1%)
CIE-LABlab(45.17, 47.98, 29.82)
CIE-LCHlch(45.17, 56.49, 31.86°)
OKLaboklab(54.58% 0.1398 0.0696)
OKLCHoklch(54.58% 0.156 26.4)
XYZxyz(23.0159, 14.6650, 5.8928)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA423C #3CB4BA
analogous
#BA3C75 #BA423C #BA813C
triadic
#BA423C #3CBA42 #423CBA
tetradic
#BA423C #75BA3C #3CB4BA #813CBA
square
#BA423C #75BA3C #3CB4BA #813CBA
split-complementary
#BA423C #3CBA81 #3C75BA
monochromatic
#5D211E #8C322D #BA423C #CE6B66 #DC9794

Accessibility & contrast

On white

5.34
#BA423C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA423C
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA423C#FFFFFF#000000##FFFFFF
##BA423C1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3A
Deuteranopia (green-blind)
#807539
Tritanopia (blue-blind)
#CC2542
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba423c;
/* rgb */ color: rgb(186, 66, 60);
/* oklch */ color: oklch(54.6% 0.156 26.4);
Tailwind
colors: {
  custom: {
    50: '#d67c72',
    500: '#ba423c',
    950: '#000000',
  },
}
SCSS
$custom: #ba423c;
$custom-light: #d67c72;
$custom-dark: #000000;
JSON
{
  "hex": "#ba423c",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 60
  },
  "hsl": {
    "h": 2.857,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.15618,
    "h": 26.4
  },
  "luminance": 0.14662
}

Semantic roles & 50–950 ramp

primary
#BA423C
secondary
#8AC5C8
accent
#D4DB4D
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA423C

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

Preview Lab → · Contrast checker → · Palette generator →

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