#BA2F51#BA2F51

#BA2F51 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.175 H 11.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA2F51
RGBrgb(186, 47, 81)
HSLhsl(345, 60%, 46%)
HSVhsv(345, 75%, 73%)
CMYKcmyk(0%, 74.7%, 56.5%, 27.1%)
CIE-LABlab(42.87, 56.72, 14.03)
CIE-LCHlch(42.87, 58.43, 13.89°)
OKLaboklab(52.98% 0.1716 0.0352)
OKLCHoklch(52.98% 0.175 11.6)
XYZxyz(22.7536, 13.0695, 9.1075)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F51 #2FBA98
analogous
#BA2F96 #BA2F51 #BA522F
triadic
#BA2F51 #51BA2F #2F51BA
tetradic
#BA2F51 #96BA2F #2FBA98 #522FBA
square
#BA2F51 #96BA2F #2FBA98 #522FBA
split-complementary
#BA2F51 #2FBA52 #2F96BA
monochromatic
#581626 #89233C #BA2F51 #D35372 #E0849A

Accessibility & contrast

On white

5.81
#BA2F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#BA2F51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F51
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F51#FFFFFF#000000##FFFFFF
##BA2F511.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545351
Deuteranopia (green-blind)
#77704D
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2f51;
/* rgb */ color: rgb(186, 47, 81);
/* oklch */ color: oklch(53.0% 0.175 11.6);
Tailwind
colors: {
  custom: {
    50: '#d57381',
    500: '#ba2f51',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f51;
$custom-light: #d57381;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f51",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 345.324,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.17513,
    "h": 11.6
  },
  "luminance": 0.13066
}

Semantic roles & 50–950 ramp

primary
#BA2F51
secondary
#7CC9B6
accent
#E3BC45
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2F51

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

Preview Lab → · Contrast checker → · Palette generator →

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