#BA4251#BA4251

#BA4251 is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.0% C 0.154 H 16.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA4251
RGBrgb(186, 66, 81)
HSLhsl(353, 48%, 49%)
HSVhsv(353, 65%, 73%)
CMYKcmyk(0%, 64.5%, 56.5%, 27.1%)
CIE-LABlab(45.54, 49.37, 17.66)
CIE-LCHlch(45.54, 52.44, 19.68°)
OKLaboklab(54.97% 0.1481 0.0438)
OKLCHoklch(54.97% 0.154 16.5)
XYZxyz(23.6852, 14.9327, 9.4181)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4251 #42BAAB
analogous
#BA428D #BA4251 #BA6F42
triadic
#BA4251 #51BA42 #4251BA
tetradic
#BA4251 #8DBA42 #42BAAB #6F42BA
square
#BA4251 #8DBA42 #42BAAB #6F42BA
split-complementary
#BA4251 #42BA6F #428DBA
monochromatic
#60222A #8D323D #BA4251 #CB6E79 #DB9BA3

Accessibility & contrast

On white

5.27
#BA4251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA4251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4251
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4251#FFFFFF#000000##FFFFFF
##BA42511.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5C51
Deuteranopia (green-blind)
#7E754E
Tritanopia (blue-blind)
#CB2B48
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba4251;
/* rgb */ color: rgb(186, 66, 81);
/* oklch */ color: oklch(55.0% 0.154 16.5);
Tailwind
colors: {
  custom: {
    50: '#d57d81',
    500: '#ba4251',
    950: '#000000',
  },
}
SCSS
$custom: #ba4251;
$custom-light: #d57d81;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4251",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 81
  },
  "hsl": {
    "h": 352.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54972,
    "c": 0.15441,
    "h": 16.5
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#BA4251
secondary
#90C8C1
accent
#D7C651
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA4251

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

Preview Lab → · Contrast checker → · Palette generator →

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