#BA2F50#BA2F50

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

Color values

HEX#BA2F50
RGBrgb(186, 47, 80)
HSLhsl(346, 60%, 46%)
HSVhsv(346, 75%, 73%)
CMYKcmyk(0%, 74.7%, 57%, 27.1%)
CIE-LABlab(42.85, 56.65, 14.62)
CIE-LCHlch(42.85, 58.50, 14.47°)
OKLaboklab(52.96% 0.1712 0.0365)
OKLCHoklch(52.96% 0.175 12)
XYZxyz(22.7164, 13.0546, 8.9115)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F50 #2FBA99
analogous
#BA2F96 #BA2F50 #BA532F
triadic
#BA2F50 #50BA2F #2F50BA
tetradic
#BA2F50 #96BA2F #2FBA99 #532FBA
square
#BA2F50 #96BA2F #2FBA99 #532FBA
split-complementary
#BA2F50 #2FBA53 #2F96BA
monochromatic
#581626 #89233B #BA2F50 #D35371 #E08499

Accessibility & contrast

On white

5.82
#BA2F50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2F50
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F50#FFFFFF#000000##FFFFFF
##BA2F501.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545350
Deuteranopia (green-blind)
#786F4C
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2f50;
/* rgb */ color: rgb(186, 47, 80);
/* oklch */ color: oklch(53.0% 0.175 12.0);
Tailwind
colors: {
  custom: {
    50: '#d57380',
    500: '#ba2f50',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f50;
$custom-light: #d57380;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f50",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 80
  },
  "hsl": {
    "h": 345.755,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.17502,
    "h": 12
  },
  "luminance": 0.13051
}

Semantic roles & 50–950 ramp

primary
#BA2F50
secondary
#7CC9B7
accent
#E3BD45
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2F50

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

Preview Lab → · Contrast checker → · Palette generator →

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