#BA323F#BA323F

#BA323F is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.172 H 20.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA323F
RGBrgb(186, 50, 63)
HSLhsl(354, 58%, 46%)
HSVhsv(354, 73%, 73%)
CMYKcmyk(0%, 73.1%, 66.1%, 27.1%)
CIE-LABlab(42.89, 54.51, 25.20)
CIE-LCHlch(42.89, 60.06, 24.81°)
OKLaboklab(52.88% 0.1612 0.0597)
OKLCHoklch(52.88% 0.172 20.3)
XYZxyz(22.2899, 13.0825, 6.0531)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA323F #32BAAD
analogous
#BA3283 #BA323F #BA6932
triadic
#BA323F #3FBA32 #323FBA
tetradic
#BA323F #83BA32 #32BAAD #6932BA
square
#BA323F #83BA32 #32BAAD #6932BA
split-complementary
#BA323F #32BA69 #3283BA
monochromatic
#5A181E #8A252F #BA323F #D25763 #DF8890

Accessibility & contrast

On white

5.81
#BA323F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA323F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA323F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA323F#FFFFFF#000000##FFFFFF
##BA323F1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533E
Deuteranopia (green-blind)
#7B703B
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba323f;
/* rgb */ color: rgb(186, 50, 63);
/* oklch */ color: oklch(52.9% 0.172 20.3);
Tailwind
colors: {
  custom: {
    50: '#d67474',
    500: '#ba323f',
    950: '#000000',
  },
}
SCSS
$custom: #ba323f;
$custom-light: #d67474;
$custom-dark: #000000;
JSON
{
  "hex": "#ba323f",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 63
  },
  "hsl": {
    "h": 354.265,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.17185,
    "h": 20.3
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#BA323F
secondary
#7FC9C2
accent
#E1D247
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA323F

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

Preview Lab → · Contrast checker → · Palette generator →

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