#BA3F3F#BA3F3F

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

Color values

HEX#BA3F3F
RGBrgb(186, 63, 63)
HSLhsl(0, 49%, 49%)
HSVhsv(0, 66%, 73%)
CMYKcmyk(0%, 66.1%, 66.1%, 27.1%)
CIE-LABlab(44.74, 49.44, 27.51)
CIE-LCHlch(44.74, 56.58, 29.09°)
OKLaboklab(54.26% 0.145 0.0648)
OKLCHoklch(54.26% 0.159 24.1)
XYZxyz(22.9268, 14.3562, 6.2654)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F3F #3FBABA
analogous
#BA3F7D #BA3F3F #BA7D3F
triadic
#BA3F3F #3FBA3F #3F3FBA
tetradic
#BA3F3F #7DBA3F #3FBABA #7D3FBA
square
#BA3F3F #7DBA3F #3FBABA #7D3FBA
split-complementary
#BA3F3F #3FBA7D #3F7DBA
monochromatic
#5F2020 #8C3030 #BA3F3F #CC6A6A #DC9797

Accessibility & contrast

On white

5.43
#BA3F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA3F3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F3F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F3F#FFFFFF#000000##FFFFFF
##BA3F3F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60593E
Deuteranopia (green-blind)
#7F743C
Tritanopia (blue-blind)
#CC2140
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3f3f;
/* rgb */ color: rgb(186, 63, 63);
/* oklch */ color: oklch(54.3% 0.159 24.1);
Tailwind
colors: {
  custom: {
    50: '#d67b74',
    500: '#ba3f3f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f3f;
$custom-light: #d67b74;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f3f",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 63
  },
  "hsl": {
    "h": 0,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54265,
    "c": 0.15887,
    "h": 24.1
  },
  "luminance": 0.14353
}

Semantic roles & 50–950 ramp

primary
#BA3F3F
secondary
#8DC8C8
accent
#D9D94F
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA3F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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