#BA2D43#BA2D43

#BA2D43 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.5% C 0.176 H 17.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA2D43
RGBrgb(186, 45, 67)
HSLhsl(351, 61%, 45%)
HSVhsv(351, 76%, 73%)
CMYKcmyk(0%, 75.8%, 64%, 27.1%)
CIE-LABlab(42.34, 56.45, 22.05)
CIE-LCHlch(42.34, 60.60, 21.33°)
OKLaboklab(52.5% 0.1682 0.053)
OKLCHoklch(52.5% 0.176 17.5)
XYZxyz(22.2036, 12.7244, 6.5960)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D43 #2DBAA4
analogous
#BA2D8A #BA2D43 #BA5D2D
triadic
#BA2D43 #43BA2D #2D43BA
tetradic
#BA2D43 #8ABA2D #2DBAA4 #5D2DBA
square
#BA2D43 #8ABA2D #2DBAA4 #5D2DBA
split-complementary
#BA2D43 #2DBA5D #2D8ABA
monochromatic
#57151F #892131 #BA2D43 #D55064 #E08190

Accessibility & contrast

On white

5.93
#BA2D43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA2D43 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D43
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D43#FFFFFF#000000##FFFFFF
##BA2D431.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555143
Deuteranopia (green-blind)
#796F3F
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2d43;
/* rgb */ color: rgb(186, 45, 67);
/* oklch */ color: oklch(52.5% 0.176 17.5);
Tailwind
colors: {
  custom: {
    50: '#d67277',
    500: '#ba2d43',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d43;
$custom-light: #d67277;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d43",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 67
  },
  "hsl": {
    "h": 350.638,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.17632,
    "h": 17.5
  },
  "luminance": 0.12721
}

Semantic roles & 50–950 ramp

primary
#BA2D43
secondary
#79C9BD
accent
#E4CB44
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA2D43

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

Preview Lab → · Contrast checker → · Palette generator →

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