#BA4F52#BA4F52

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

Color values

HEX#BA4F52
RGBrgb(186, 79, 82)
HSLhsl(358, 44%, 52%)
HSVhsv(358, 58%, 73%)
CMYKcmyk(0%, 57.5%, 55.9%, 27.1%)
CIE-LABlab(47.81, 43.48, 20.08)
CIE-LCHlch(47.81, 47.90, 24.79°)
OKLaboklab(56.68% 0.1296 0.0495)
OKLCHoklch(56.68% 0.139 20.9)
XYZxyz(24.5707, 16.6433, 9.8996)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F52 #4FBAB7
analogous
#BA4F88 #BA4F52 #BA824F
triadic
#BA4F52 #52BA4F #4F52BA
tetradic
#BA4F52 #88BA4F #4FBAB7 #824FBA
square
#BA4F52 #88BA4F #4FBAB7 #824FBA
split-complementary
#BA4F52 #4FBA82 #4F88BA
monochromatic
#66282A #92393C #BA4F52 #CB7B7D #DCA7A8

Accessibility & contrast

On white

4.85
#BA4F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA4F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F52
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F52#FFFFFF#000000##FFFFFF
##BA4F521.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686351
Deuteranopia (green-blind)
#837A50
Tritanopia (blue-blind)
#CB3D51
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4f52;
/* rgb */ color: rgb(186, 79, 82);
/* oklch */ color: oklch(56.7% 0.139 20.9);
Tailwind
colors: {
  custom: {
    50: '#d48482',
    500: '#ba4f52',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f52;
$custom-light: #d48482;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f52",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 82
  },
  "hsl": {
    "h": 358.318,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.13875,
    "h": 20.9
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#BA4F52
secondary
#9BCAC9
accent
#D3D054
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #BA4F52

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

Preview Lab → · Contrast checker → · Palette generator →

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