#BA3851#BA3851

#BA3851 is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.9% C 0.166 H 13.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BA3851
RGBrgb(186, 56, 81)
HSLhsl(348, 54%, 47%)
HSVhsv(348, 70%, 73%)
CMYKcmyk(0%, 69.9%, 56.5%, 27.1%)
CIE-LABlab(44.04, 53.47, 15.63)
CIE-LCHlch(44.04, 55.71, 16.29°)
OKLaboklab(53.85% 0.1611 0.039)
OKLCHoklch(53.85% 0.166 13.6)
XYZxyz(23.1512, 13.8647, 9.2401)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3851 #38BAA1
analogous
#BA3892 #BA3851 #BA6038
triadic
#BA3851 #51BA38 #3851BA
tetradic
#BA3851 #92BA38 #38BAA1 #6038BA
square
#BA3851 #92BA38 #38BAA1 #6038BA
split-complementary
#BA3851 #38BA60 #3892BA
monochromatic
#5C1C28 #8B2A3D #BA3851 #CF6075 #DD8F9E

Accessibility & contrast

On white

5.57
#BA3851 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BA3851 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3851
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3851#FFFFFF#000000##FFFFFF
##BA38511.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595751
Deuteranopia (green-blind)
#7A724E
Tritanopia (blue-blind)
#CB1A42
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3851;
/* rgb */ color: rgb(186, 56, 81);
/* oklch */ color: oklch(53.9% 0.166 13.6);
Tailwind
colors: {
  custom: {
    50: '#d57781',
    500: '#ba3851',
    950: '#000000',
  },
}
SCSS
$custom: #ba3851;
$custom-light: #d57781;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3851",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 81
  },
  "hsl": {
    "h": 348.462,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.16579,
    "h": 13.6
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#BA3851
secondary
#86C8BB
accent
#DDC14B
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #BA3851

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

Preview Lab → · Contrast checker → · Palette generator →

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