#BA3254#BA3254

#BA3254 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.3% C 0.172 H 10.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BA3254
RGBrgb(186, 50, 84)
HSLhsl(345, 58%, 46%)
HSVhsv(345, 73%, 73%)
CMYKcmyk(0%, 73.1%, 54.8%, 27.1%)
CIE-LABlab(43.31, 55.92, 12.76)
CIE-LCHlch(43.31, 57.35, 12.86°)
OKLaboklab(53.33% 0.1694 0.0322)
OKLCHoklch(53.33% 0.172 10.8)
XYZxyz(22.9927, 13.3636, 9.7545)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3254 #32BA98
analogous
#BA3298 #BA3254 #BA5432
triadic
#BA3254 #54BA32 #3254BA
tetradic
#BA3254 #98BA32 #32BA98 #5432BA
square
#BA3254 #98BA32 #32BA98 #5432BA
split-complementary
#BA3254 #32BA54 #3298BA
monochromatic
#5A1828 #8A253E #BA3254 #D25776 #DF889D

Accessibility & contrast

On white

5.72
#BA3254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#BA3254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3254
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3254#FFFFFF#000000##FFFFFF
##BA32541.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555555
Deuteranopia (green-blind)
#787051
Tritanopia (blue-blind)
#CB0E40
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba3254;
/* rgb */ color: rgb(186, 50, 84);
/* oklch */ color: oklch(53.3% 0.172 10.8);
Tailwind
colors: {
  custom: {
    50: '#d57583',
    500: '#ba3254',
    950: '#000000',
  },
}
SCSS
$custom: #ba3254;
$custom-light: #d57583;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3254",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 345,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.17245,
    "h": 10.8
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#BA3254
secondary
#7FC9B6
accent
#E1BA47
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #BA3254

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

Preview Lab → · Contrast checker → · Palette generator →

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