#BA3852#BA3852

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

Color values

HEX#BA3852
RGBrgb(186, 56, 82)
HSLhsl(348, 54%, 47%)
HSVhsv(348, 70%, 73%)
CMYKcmyk(0%, 69.9%, 55.9%, 27.1%)
CIE-LABlab(44.06, 53.55, 15.04)
CIE-LCHlch(44.06, 55.62, 15.68°)
OKLaboklab(53.87% 0.1615 0.0376)
OKLCHoklch(53.87% 0.166 13.1)
XYZxyz(23.1890, 13.8798, 9.4390)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3852 #38BAA0
analogous
#BA3893 #BA3852 #BA5F38
triadic
#BA3852 #52BA38 #3852BA
tetradic
#BA3852 #93BA38 #38BAA0 #5F38BA
square
#BA3852 #93BA38 #38BAA0 #5F38BA
split-complementary
#BA3852 #38BA5F #3893BA
monochromatic
#5C1C29 #8B2A3D #BA3852 #CF6076 #DD8F9F

Accessibility & contrast

On white

5.56
#BA3852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA3852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3852
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3852#FFFFFF#000000##FFFFFF
##BA38521.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595752
Deuteranopia (green-blind)
#7A724F
Tritanopia (blue-blind)
#CB1B43
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3852;
/* rgb */ color: rgb(186, 56, 82);
/* oklch */ color: oklch(53.9% 0.166 13.1);
Tailwind
colors: {
  custom: {
    50: '#d57882',
    500: '#ba3852',
    950: '#000000',
  },
}
SCSS
$custom: #ba3852;
$custom-light: #d57882;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3852",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 82
  },
  "hsl": {
    "h": 348,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.16585,
    "h": 13.1
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3852

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

Preview Lab → · Contrast checker → · Palette generator →

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