#BA3E4F#BA3E4F

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

Color values

HEX#BA3E4F
RGBrgb(186, 62, 79)
HSLhsl(352, 50%, 49%)
HSVhsv(352, 67%, 73%)
CMYKcmyk(0%, 66.7%, 57.5%, 27.1%)
CIE-LABlab(44.87, 50.92, 17.98)
CIE-LCHlch(44.87, 54.00, 19.45°)
OKLaboklab(54.46% 0.1527 0.0444)
OKLCHoklch(54.46% 0.159 16.2)
XYZxyz(23.3858, 14.4520, 8.9537)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E4F #3EBAA9
analogous
#BA3E8D #BA3E4F #BA6B3E
triadic
#BA3E4F #4FBA3E #3E4FBA
tetradic
#BA3E4F #8DBA3E #3EBAA9 #6B3EBA
square
#BA3E4F #8DBA3E #3EBAA9 #6B3EBA
split-complementary
#BA3E4F #3EBA6B #3E8DBA
monochromatic
#5E1F28 #8C2F3C #BA3E4F #CD6876 #DC96A0

Accessibility & contrast

On white

5.40
#BA3E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA3E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E4F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E4F#FFFFFF#000000##FFFFFF
##BA3E4F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5A4F
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#CB2445
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3e4f;
/* rgb */ color: rgb(186, 62, 79);
/* oklch */ color: oklch(54.5% 0.159 16.2);
Tailwind
colors: {
  custom: {
    50: '#d57a80',
    500: '#ba3e4f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e4f;
$custom-light: #d57a80;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e4f",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 79
  },
  "hsl": {
    "h": 351.774,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5446,
    "c": 0.15901,
    "h": 16.2
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#BA3E4F
secondary
#8CC8C0
accent
#DAC64E
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA3E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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