#BA414D#BA414D

#BA414D is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.8% C 0.156 H 18.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BA414D
RGBrgb(186, 65, 77)
HSLhsl(354, 48%, 49%)
HSVhsv(354, 65%, 73%)
CMYKcmyk(0%, 65.1%, 58.6%, 27.1%)
CIE-LABlab(45.30, 49.51, 19.78)
CIE-LCHlch(45.30, 53.31, 21.78°)
OKLaboklab(54.77% 0.1479 0.0485)
OKLCHoklch(54.77% 0.156 18.2)
XYZxyz(23.4817, 14.7587, 8.6319)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA414D #41BAAE
analogous
#BA418A #BA414D #BA7241
triadic
#BA414D #4DBA41 #414DBA
tetradic
#BA414D #8ABA41 #41BAAE #7241BA
square
#BA414D #8ABA41 #41BAAE #7241BA
split-complementary
#BA414D #41BA72 #418ABA
monochromatic
#5F2127 #8D313A #BA414D #CC6C76 #DC9AA0

Accessibility & contrast

On white

5.31
#BA414D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA414D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA414D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA414D#FFFFFF#000000##FFFFFF
##BA414D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5B4D
Deuteranopia (green-blind)
#7E754A
Tritanopia (blue-blind)
#CB2846
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba414d;
/* rgb */ color: rgb(186, 65, 77);
/* oklch */ color: oklch(54.8% 0.156 18.2);
Tailwind
colors: {
  custom: {
    50: '#d57c7e',
    500: '#ba414d',
    950: '#000000',
  },
}
SCSS
$custom: #ba414d;
$custom-light: #d57c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba414d",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 77
  },
  "hsl": {
    "h": 354.05,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.15561,
    "h": 18.2
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#BA414D
secondary
#8FC8C2
accent
#D8CA50
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA414D

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

Preview Lab → · Contrast checker → · Palette generator →

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