#BA4952#BA4952

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

Color values

HEX#BA4952
RGBrgb(186, 73, 82)
HSLhsl(355, 45%, 51%)
HSVhsv(355, 61%, 73%)
CMYKcmyk(0%, 60.8%, 55.9%, 27.1%)
CIE-LABlab(46.73, 46.32, 18.65)
CIE-LCHlch(46.73, 49.93, 21.93°)
OKLaboklab(55.87% 0.1385 0.0462)
OKLCHoklch(55.87% 0.146 18.4)
XYZxyz(24.1573, 15.8164, 9.7618)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4952 #49BAB1
analogous
#BA498A #BA4952 #BA7849
triadic
#BA4952 #52BA49 #4952BA
tetradic
#BA4952 #8ABA49 #49BAB1 #7849BA
square
#BA4952 #8ABA49 #49BAB1 #7849BA
split-complementary
#BA4952 #49BA78 #498ABA
monochromatic
#63262A #8F363D #BA4952 #CB757C #DCA2A6

Accessibility & contrast

On white

5.04
#BA4952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BA4952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4952
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4952#FFFFFF#000000##FFFFFF
##BA49521.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646052
Deuteranopia (green-blind)
#81784F
Tritanopia (blue-blind)
#CB354D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4952;
/* rgb */ color: rgb(186, 73, 82);
/* oklch */ color: oklch(55.9% 0.146 18.4);
Tailwind
colors: {
  custom: {
    50: '#d48182',
    500: '#ba4952',
    950: '#000000',
  },
}
SCSS
$custom: #ba4952;
$custom-light: #d48182;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4952",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 82
  },
  "hsl": {
    "h": 355.221,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.14603,
    "h": 18.4
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#BA4952
secondary
#96C8C4
accent
#D5CA53
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #BA4952

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

Preview Lab → · Contrast checker → · Palette generator →

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