#BA3858#BA3858

#BA3858 is a mid, vivid red. Relative luminance 0.140; OKLCH L 54.0% C 0.166 H 10.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BA3858
RGBrgb(186, 56, 88)
HSLhsl(345, 54%, 47%)
HSVhsv(345, 70%, 73%)
CMYKcmyk(0%, 69.9%, 52.7%, 27.1%)
CIE-LABlab(44.20, 54.02, 11.51)
CIE-LCHlch(44.20, 55.24, 12.03°)
OKLaboklab(54.02% 0.1639 0.0293)
OKLCHoklch(54.02% 0.166 10.1)
XYZxyz(23.4274, 13.9752, 10.6945)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3858 #38BA9A
analogous
#BA3899 #BA3858 #BA5938
triadic
#BA3858 #58BA38 #3858BA
tetradic
#BA3858 #99BA38 #38BA9A #5938BA
square
#BA3858 #99BA38 #38BA9A #5938BA
split-complementary
#BA3858 #38BA59 #3899BA
monochromatic
#5C1C2B #8B2A42 #BA3858 #CF607B #DD8FA2

Accessibility & contrast

On white

5.53
#BA3858 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA3858 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3858
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3858#FFFFFF#000000##FFFFFF
##BA38581.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575859
Deuteranopia (green-blind)
#797255
Tritanopia (blue-blind)
#CB1E45
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3858;
/* rgb */ color: rgb(186, 56, 88);
/* oklch */ color: oklch(54.0% 0.166 10.1);
Tailwind
colors: {
  custom: {
    50: '#d57886',
    500: '#ba3858',
    950: '#000000',
  },
}
SCSS
$custom: #ba3858;
$custom-light: #d57886;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3858",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 88
  },
  "hsl": {
    "h": 345.231,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.16647,
    "h": 10.1
  },
  "luminance": 0.13972
}

Semantic roles & 50–950 ramp

primary
#BA3858
secondary
#86C8B8
accent
#DDB94B
background
#FDF7F8
surface
#FBEEEF
border
#D4C9CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA3858

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

Preview Lab → · Contrast checker → · Palette generator →

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