#BA2C4F#BA2C4F

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

Color values

HEX#BA2C4F
RGBrgb(186, 44, 79)
HSLhsl(345, 62%, 45%)
HSVhsv(345, 76%, 73%)
CMYKcmyk(0%, 76.3%, 57.5%, 27.1%)
CIE-LABlab(42.47, 57.56, 14.74)
CIE-LCHlch(42.47, 59.42, 14.36°)
OKLaboklab(52.68% 0.1739 0.0368)
OKLCHoklch(52.68% 0.178 11.9)
XYZxyz(22.5639, 12.8082, 8.6797)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C4F #2CBA97
analogous
#BA2C96 #BA2C4F #BA502C
triadic
#BA2C4F #4FBA2C #2C4FBA
tetradic
#BA2C4F #96BA2C #2CBA97 #502CBA
square
#BA2C4F #96BA2C #2CBA97 #502CBA
split-complementary
#BA2C4F #2CBA50 #2C96BA
monochromatic
#571525 #89203A #BA2C4F #D54E6F #E18098

Accessibility & contrast

On white

5.90
#BA2C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#BA2C4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C4F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C4F#FFFFFF#000000##FFFFFF
##BA2C4F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52524F
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2c4f;
/* rgb */ color: rgb(186, 44, 79);
/* oklch */ color: oklch(52.7% 0.178 11.9);
Tailwind
colors: {
  custom: {
    50: '#d67280',
    500: '#ba2c4f',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c4f;
$custom-light: #d67280;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c4f",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 79
  },
  "hsl": {
    "h": 345.211,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.17777,
    "h": 11.9
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#BA2C4F
secondary
#78CAB6
accent
#E5BD43
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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