#BA3E51#BA3E51

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

Color values

HEX#BA3E51
RGBrgb(186, 62, 81)
HSLhsl(351, 50%, 49%)
HSVhsv(351, 67%, 73%)
CMYKcmyk(0%, 66.7%, 56.5%, 27.1%)
CIE-LABlab(44.92, 51.07, 16.81)
CIE-LCHlch(44.92, 53.77, 18.22°)
OKLaboklab(54.5% 0.1535 0.0418)
OKLCHoklch(54.5% 0.159 15.2)
XYZxyz(23.4597, 14.4816, 9.3429)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E51 #3EBAA7
analogous
#BA3E8F #BA3E51 #BA693E
triadic
#BA3E51 #51BA3E #3E51BA
tetradic
#BA3E51 #8FBA3E #3EBAA7 #693EBA
square
#BA3E51 #8FBA3E #3EBAA7 #693EBA
split-complementary
#BA3E51 #3EBA69 #3E8FBA
monochromatic
#5E1F29 #8C2F3D #BA3E51 #CD6878 #DC96A1

Accessibility & contrast

On white

5.39
#BA3E51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA3E51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E51
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E51#FFFFFF#000000##FFFFFF
##BA3E511.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5A51
Deuteranopia (green-blind)
#7C744E
Tritanopia (blue-blind)
#CB2546
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3e51;
/* rgb */ color: rgb(186, 62, 81);
/* oklch */ color: oklch(54.5% 0.159 15.2);
Tailwind
colors: {
  custom: {
    50: '#d57b81',
    500: '#ba3e51',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e51;
$custom-light: #d57b81;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e51",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 81
  },
  "hsl": {
    "h": 350.806,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.15906,
    "h": 15.2
  },
  "luminance": 0.14478
}

Semantic roles & 50–950 ramp

primary
#BA3E51
secondary
#8CC8BF
accent
#DAC44E
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA3E51

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

Preview Lab → · Contrast checker → · Palette generator →

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