#BA4252#BA4252

#BA4252 is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.0% C 0.154 H 16.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA4252
RGBrgb(186, 66, 82)
HSLhsl(352, 48%, 49%)
HSVhsv(352, 65%, 73%)
CMYKcmyk(0%, 64.5%, 55.9%, 27.1%)
CIE-LABlab(45.56, 49.45, 17.07)
CIE-LCHlch(45.56, 52.32, 19.05°)
OKLaboklab(54.99% 0.1485 0.0425)
OKLCHoklch(54.99% 0.154 16)
XYZxyz(23.7230, 14.9478, 9.6170)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4252 #42BAAA
analogous
#BA428E #BA4252 #BA6E42
triadic
#BA4252 #52BA42 #4252BA
tetradic
#BA4252 #8EBA42 #42BAAA #6E42BA
square
#BA4252 #8EBA42 #42BAAA #6E42BA
split-complementary
#BA4252 #42BA6E #428EBA
monochromatic
#60222A #8D323E #BA4252 #CB6E7A #DB9BA4

Accessibility & contrast

On white

5.26
#BA4252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA4252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4252
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4252#FFFFFF#000000##FFFFFF
##BA42521.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5C52
Deuteranopia (green-blind)
#7E754F
Tritanopia (blue-blind)
#CB2B48
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba4252;
/* rgb */ color: rgb(186, 66, 82);
/* oklch */ color: oklch(55.0% 0.154 16.0);
Tailwind
colors: {
  custom: {
    50: '#d57d82',
    500: '#ba4252',
    950: '#000000',
  },
}
SCSS
$custom: #ba4252;
$custom-light: #d57d82;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4252",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 352,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.15442,
    "h": 16
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#BA4252
secondary
#90C8C0
accent
#D7C551
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA4252

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

Preview Lab → · Contrast checker → · Palette generator →

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