#BA3261#BA3261

#BA3261 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.175 H 4.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BA3261
RGBrgb(186, 50, 97)
HSLhsl(339, 58%, 46%)
HSVhsv(339, 73%, 73%)
CMYKcmyk(0%, 73.1%, 47.8%, 27.1%)
CIE-LABlab(43.63, 57.00, 5.13)
CIE-LCHlch(43.63, 57.23, 5.14°)
OKLaboklab(53.68% 0.1743 0.0137)
OKLCHoklch(53.68% 0.175 4.5)
XYZxyz(23.5499, 13.5865, 12.6893)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3261 #32BA8B
analogous
#BA32A5 #BA3261 #BA4732
triadic
#BA3261 #61BA32 #3261BA
tetradic
#BA3261 #A5BA32 #32BA8B #4732BA
square
#BA3261 #A5BA32 #32BA8B #4732BA
split-complementary
#BA3261 #32BA47 #32A5BA
monochromatic
#5A182F #8A2548 #BA3261 #D25782 #DF88A6

Accessibility & contrast

On white

5.65
#BA3261 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#BA3261 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3261
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3261#FFFFFF#000000##FFFFFF
##BA32611.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525662
Deuteranopia (green-blind)
#76715E
Tritanopia (blue-blind)
#CA1746
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3261;
/* rgb */ color: rgb(186, 50, 97);
/* oklch */ color: oklch(53.7% 0.175 4.5);
Tailwind
colors: {
  custom: {
    50: '#d4758d',
    500: '#ba3261',
    950: '#000000',
  },
}
SCSS
$custom: #ba3261;
$custom-light: #d4758d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3261",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 339.265,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53678,
    "c": 0.17484,
    "h": 4.5
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#BA3261
secondary
#7FC9AF
accent
#E1AC47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA3261

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

Preview Lab → · Contrast checker → · Palette generator →

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