#BA2F4B#BA2F4B

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

Color values

HEX#BA2F4B
RGBrgb(186, 47, 75)
HSLhsl(348, 60%, 46%)
HSVhsv(348, 75%, 73%)
CMYKcmyk(0%, 74.7%, 59.7%, 27.1%)
CIE-LABlab(42.74, 56.30, 17.59)
CIE-LCHlch(42.74, 58.98, 17.36°)
OKLaboklab(52.84% 0.1692 0.0433)
OKLCHoklch(52.84% 0.175 14.4)
XYZxyz(22.5385, 12.9834, 7.9745)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F4B #2FBA9E
analogous
#BA2F90 #BA2F4B #BA592F
triadic
#BA2F4B #4BBA2F #2F4BBA
tetradic
#BA2F4B #90BA2F #2FBA9E #592FBA
square
#BA2F4B #90BA2F #2FBA9E #592FBA
split-complementary
#BA2F4B #2FBA59 #2F90BA
monochromatic
#581624 #892337 #BA2F4B #D3536D #E08496

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2F4B#FFFFFF#000000##FFFFFF
##BA2F4B1.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)
#55534B
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2f4b;
/* rgb */ color: rgb(186, 47, 75);
/* oklch */ color: oklch(52.8% 0.175 14.4);
Tailwind
colors: {
  custom: {
    50: '#d6737d',
    500: '#ba2f4b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f4b;
$custom-light: #d6737d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f4b",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 347.914,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52844,
    "c": 0.17465,
    "h": 14.4
  },
  "luminance": 0.1298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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