#BA276E#BA276E

#BA276E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.190 H 356.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA276E
RGBrgb(186, 39, 110)
HSLhsl(331, 65%, 44%)
HSVhsv(331, 79%, 73%)
CMYKcmyk(0%, 79%, 40.9%, 27.1%)
CIE-LABlab(42.79, 61.70, -4.19)
CIE-LCHlch(42.79, 61.84, 356.11°)
OKLaboklab(53.19% 0.1898 -0.0102)
OKLCHoklch(53.19% 0.19 356.9)
XYZxyz(23.7914, 13.0190, 16.0089)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA276E #27BA73
analogous
#BA27B8 #BA276E #BA2927
triadic
#BA276E #6EBA27 #276EBA
tetradic
#BA276E #B8BA27 #27BA73 #2927BA
square
#BA276E #B8BA27 #27BA73 #2927BA
split-complementary
#BA276E #27BA29 #27B8BA
monochromatic
#551232 #871C50 #BA276E #D8468D #E379AC

Accessibility & contrast

On white

5.83
#BA276E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#BA276E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA276E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA276E#FFFFFF#000000##FFFFFF
##BA276E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485470
Deuteranopia (green-blind)
#706F6B
Tritanopia (blue-blind)
#C90B47
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba276e;
/* rgb */ color: rgb(186, 39, 110);
/* oklch */ color: oklch(53.2% 0.190 356.9);
Tailwind
colors: {
  custom: {
    50: '#d47197',
    500: '#ba276e',
    950: '#000000',
  },
}
SCSS
$custom: #ba276e;
$custom-light: #d47197;
$custom-dark: #000000;
JSON
{
  "hex": "#ba276e",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 331.02,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.19007,
    "h": 356.9
  },
  "luminance": 0.13016
}

Semantic roles & 50–950 ramp

primary
#BA276E
secondary
#72CBA0
accent
#E89740
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA276E

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

Preview Lab → · Contrast checker → · Palette generator →

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