#BA2D4F#BA2D4F

#BA2D4F is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.8% C 0.177 H 12.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#BA2D4F
RGBrgb(186, 45, 79)
HSLhsl(346, 61%, 45%)
HSVhsv(346, 76%, 73%)
CMYKcmyk(0%, 75.8%, 57.5%, 27.1%)
CIE-LABlab(42.59, 57.24, 14.90)
CIE-LCHlch(42.59, 59.14, 14.59°)
OKLaboklab(52.76% 0.1729 0.0371)
OKLCHoklch(52.76% 0.177 12.1)
XYZxyz(22.6016, 12.8836, 8.6923)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D4F #2DBA98
analogous
#BA2D95 #BA2D4F #BA512D
triadic
#BA2D4F #4FBA2D #2D4FBA
tetradic
#BA2D4F #95BA2D #2DBA98 #512DBA
square
#BA2D4F #95BA2D #2DBA98 #512DBA
split-complementary
#BA2D4F #2DBA51 #2D95BA
monochromatic
#571525 #89213A #BA2D4F #D55070 #E08198

Accessibility & contrast

On white

5.87
#BA2D4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA2D4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D4F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D4F#FFFFFF#000000##FFFFFF
##BA2D4F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53524F
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#CB003B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2d4f;
/* rgb */ color: rgb(186, 45, 79);
/* oklch */ color: oklch(52.8% 0.177 12.1);
Tailwind
colors: {
  custom: {
    50: '#d67280',
    500: '#ba2d4f',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d4f;
$custom-light: #d67280;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d4f",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 345.532,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5276,
    "c": 0.17684,
    "h": 12.1
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#BA2D4F
secondary
#79C9B6
accent
#E4BD44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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