#BA2D4C#BA2D4C

#BA2D4C is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.7% C 0.177 H 13.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BA2D4C
RGBrgb(186, 45, 76)
HSLhsl(347, 61%, 45%)
HSVhsv(347, 76%, 73%)
CMYKcmyk(0%, 75.8%, 59.1%, 27.1%)
CIE-LABlab(42.52, 57.03, 16.68)
CIE-LCHlch(42.52, 59.42, 16.31°)
OKLaboklab(52.69% 0.1717 0.0412)
OKLCHoklch(52.69% 0.177 13.5)
XYZxyz(22.4948, 12.8410, 8.1301)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D4C #2DBA9B
analogous
#BA2D92 #BA2D4C #BA552D
triadic
#BA2D4C #4CBA2D #2D4CBA
tetradic
#BA2D4C #92BA2D #2DBA9B #552DBA
square
#BA2D4C #92BA2D #2DBA9B #552DBA
split-complementary
#BA2D4C #2DBA55 #2D92BA
monochromatic
#571524 #892138 #BA2D4C #D5506D #E08196

Accessibility & contrast

On white

5.89
#BA2D4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA2D4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D4C
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D4C#FFFFFF#000000##FFFFFF
##BA2D4C1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54524C
Deuteranopia (green-blind)
#786F48
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2d4c;
/* rgb */ color: rgb(186, 45, 76);
/* oklch */ color: oklch(52.7% 0.177 13.5);
Tailwind
colors: {
  custom: {
    50: '#d6727d',
    500: '#ba2d4c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d4c;
$custom-light: #d6727d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d4c",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 346.809,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.17659,
    "h": 13.5
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#BA2D4C
secondary
#79C9B8
accent
#E4C144
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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