#BA3262#BA3262

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

Color values

HEX#BA3262
RGBrgb(186, 50, 98)
HSLhsl(339, 58%, 46%)
HSVhsv(339, 73%, 73%)
CMYKcmyk(0%, 73.1%, 47.3%, 27.1%)
CIE-LABlab(43.66, 57.09, 4.54)
CIE-LCHlch(43.66, 57.27, 4.55°)
OKLaboklab(53.71% 0.1747 0.0122)
OKLCHoklch(53.71% 0.175 4)
XYZxyz(23.5968, 13.6053, 12.9364)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3262 #32BA8A
analogous
#BA32A6 #BA3262 #BA4632
triadic
#BA3262 #62BA32 #3262BA
tetradic
#BA3262 #A6BA32 #32BA8A #4632BA
square
#BA3262 #A6BA32 #32BA8A #4632BA
split-complementary
#BA3262 #32BA46 #32A6BA
monochromatic
#5A182F #8A2549 #BA3262 #D25783 #DF88A6

Accessibility & contrast

On white

5.64
#BA3262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3262
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3262#FFFFFF#000000##FFFFFF
##BA32621.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525663
Deuteranopia (green-blind)
#76715F
Tritanopia (blue-blind)
#CA1846
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3262;
/* rgb */ color: rgb(186, 50, 98);
/* oklch */ color: oklch(53.7% 0.175 4.0);
Tailwind
colors: {
  custom: {
    50: '#d4758e',
    500: '#ba3262',
    950: '#000000',
  },
}
SCSS
$custom: #ba3262;
$custom-light: #d4758e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3262",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 338.824,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.17509,
    "h": 4
  },
  "luminance": 0.13602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3262

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

Preview Lab → · Contrast checker → · Palette generator →

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