#BA3270#BA3270

#BA3270 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.180 H 357.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BA3270
RGBrgb(186, 50, 112)
HSLhsl(333, 58%, 46%)
HSVhsv(333, 73%, 73%)
CMYKcmyk(0%, 73.1%, 39.8%, 27.1%)
CIE-LABlab(44.08, 58.45, -3.53)
CIE-LCHlch(44.08, 58.56, 356.54°)
OKLaboklab(54.15% 0.1794 -0.0085)
OKLCHoklch(54.15% 0.18 357.3)
XYZxyz(24.3166, 13.8932, 16.7272)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3270 #32BA7C
analogous
#BA32B4 #BA3270 #BA3832
triadic
#BA3270 #70BA32 #3270BA
tetradic
#BA3270 #B4BA32 #32BA7C #3832BA
square
#BA3270 #B4BA32 #32BA7C #3832BA
split-complementary
#BA3270 #32BA38 #32B4BA
monochromatic
#5A1836 #8A2553 #BA3270 #D2578F #DF88AF

Accessibility & contrast

On white

5.56
#BA3270 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA3270 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3270
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3270#FFFFFF#000000##FFFFFF
##BA32701.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5872
Deuteranopia (green-blind)
#73716D
Tritanopia (blue-blind)
#C9214D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3270;
/* rgb */ color: rgb(186, 50, 112);
/* oklch */ color: oklch(54.2% 0.180 357.3);
Tailwind
colors: {
  custom: {
    50: '#d47699',
    500: '#ba3270',
    950: '#000000',
  },
}
SCSS
$custom: #ba3270;
$custom-light: #d47699;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3270",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 332.647,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.17959,
    "h": 357.3
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#BA3270
secondary
#7FC9A7
accent
#E19B47
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA3270

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

Preview Lab → · Contrast checker → · Palette generator →

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