#BA3F51#BA3F51

#BA3F51 is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.6% C 0.158 H 15.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA3F51
RGBrgb(186, 63, 81)
HSLhsl(351, 49%, 49%)
HSVhsv(351, 66%, 73%)
CMYKcmyk(0%, 66.1%, 56.5%, 27.1%)
CIE-LABlab(45.07, 50.65, 17.02)
CIE-LCHlch(45.07, 53.44, 18.57°)
OKLaboklab(54.62% 0.1521 0.0423)
OKLCHoklch(54.62% 0.158 15.5)
XYZxyz(23.5145, 14.5913, 9.3612)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F51 #3FBAA8
analogous
#BA3F8F #BA3F51 #BA6B3F
triadic
#BA3F51 #51BA3F #3F51BA
tetradic
#BA3F51 #8FBA3F #3FBAA8 #6B3FBA
square
#BA3F51 #8FBA3F #3FBAA8 #6B3FBA
split-complementary
#BA3F51 #3FBA6B #3F8FBA
monochromatic
#5F2029 #8C303D #BA3F51 #CC6A78 #DC97A1

Accessibility & contrast

On white

5.36
#BA3F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA3F51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F51
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F51#FFFFFF#000000##FFFFFF
##BA3F511.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5B51
Deuteranopia (green-blind)
#7D744E
Tritanopia (blue-blind)
#CB2746
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3f51;
/* rgb */ color: rgb(186, 63, 81);
/* oklch */ color: oklch(54.6% 0.158 15.5);
Tailwind
colors: {
  custom: {
    50: '#d57b81',
    500: '#ba3f51',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f51;
$custom-light: #d57b81;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f51",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 81
  },
  "hsl": {
    "h": 351.22,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54619,
    "c": 0.15791,
    "h": 15.5
  },
  "luminance": 0.14588
}

Semantic roles & 50–950 ramp

primary
#BA3F51
secondary
#8DC8BF
accent
#D9C54F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA3F51

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

Preview Lab → · Contrast checker → · Palette generator →

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