#BA2D45#BA2D45

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

Color values

HEX#BA2D45
RGBrgb(186, 45, 69)
HSLhsl(350, 61%, 45%)
HSVhsv(350, 76%, 73%)
CMYKcmyk(0%, 75.8%, 62.9%, 27.1%)
CIE-LABlab(42.38, 56.57, 20.86)
CIE-LCHlch(42.38, 60.29, 20.24°)
OKLaboklab(52.54% 0.169 0.0504)
OKLCHoklch(52.54% 0.176 16.6)
XYZxyz(22.2646, 12.7489, 6.9175)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D45 #2DBAA2
analogous
#BA2D8C #BA2D45 #BA5B2D
triadic
#BA2D45 #45BA2D #2D45BA
tetradic
#BA2D45 #8CBA2D #2DBAA2 #5B2DBA
square
#BA2D45 #8CBA2D #2DBAA2 #5B2DBA
split-complementary
#BA2D45 #2DBA5B #2D8CBA
monochromatic
#571520 #892133 #BA2D45 #D55066 #E08191

Accessibility & contrast

On white

5.92
#BA2D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#BA2D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D45
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D45#FFFFFF#000000##FFFFFF
##BA2D451.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555145
Deuteranopia (green-blind)
#786F41
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2d45;
/* rgb */ color: rgb(186, 45, 69);
/* oklch */ color: oklch(52.5% 0.176 16.6);
Tailwind
colors: {
  custom: {
    50: '#d67278',
    500: '#ba2d45',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d45;
$custom-light: #d67278;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d45",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 69
  },
  "hsl": {
    "h": 349.787,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.17632,
    "h": 16.6
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#BA2D45
secondary
#79C9BC
accent
#E4C944
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2D45

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

Preview Lab → · Contrast checker → · Palette generator →

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