#BA2F4C#BA2F4C

#BA2F4C is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.9% C 0.175 H 13.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BA2F4C
RGBrgb(186, 47, 76)
HSLhsl(347, 60%, 46%)
HSVhsv(347, 75%, 73%)
CMYKcmyk(0%, 74.7%, 59.1%, 27.1%)
CIE-LABlab(42.76, 56.37, 17.00)
CIE-LCHlch(42.76, 58.87, 16.78°)
OKLaboklab(52.87% 0.1696 0.042)
OKLCHoklch(52.87% 0.175 13.9)
XYZxyz(22.5730, 12.9972, 8.1562)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F4C #2FBA9D
analogous
#BA2F91 #BA2F4C #BA572F
triadic
#BA2F4C #4CBA2F #2F4CBA
tetradic
#BA2F4C #91BA2F #2FBA9D #572FBA
square
#BA2F4C #91BA2F #2FBA9D #572FBA
split-complementary
#BA2F4C #2FBA57 #2F91BA
monochromatic
#581624 #892338 #BA2F4C #D3536E #E08497

Accessibility & contrast

On white

5.84
#BA2F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#BA2F4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F4C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F4C#FFFFFF#000000##FFFFFF
##BA2F4C1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534C
Deuteranopia (green-blind)
#786F48
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2f4c;
/* rgb */ color: rgb(186, 47, 76);
/* oklch */ color: oklch(52.9% 0.175 13.9);
Tailwind
colors: {
  custom: {
    50: '#d6737d',
    500: '#ba2f4c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f4c;
$custom-light: #d6737d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f4c",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 347.482,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.1747,
    "h": 13.9
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#BA2F4C
secondary
#7CC9B9
accent
#E3C245
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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