#BA276F#BA276F

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

Color values

HEX#BA276F
RGBrgb(186, 39, 111)
HSLhsl(331, 65%, 44%)
HSVhsv(331, 79%, 73%)
CMYKcmyk(0%, 79%, 40.3%, 27.1%)
CIE-LABlab(42.82, 61.80, -4.77)
CIE-LCHlch(42.82, 61.98, 355.59°)
OKLaboklab(53.22% 0.1901 -0.0118)
OKLCHoklch(53.22% 0.19 356.5)
XYZxyz(23.8462, 13.0409, 16.2973)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA276F #27BA72
analogous
#BA27B9 #BA276F #BA2927
triadic
#BA276F #6FBA27 #276FBA
tetradic
#BA276F #B9BA27 #27BA72 #2927BA
square
#BA276F #B9BA27 #27BA72 #2927BA
split-complementary
#BA276F #27BA29 #27B9BA
monochromatic
#551233 #871C51 #BA276F #D8468E #E379AD

Accessibility & contrast

On white

5.82
#BA276F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#BA276F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA276F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA276F#FFFFFF#000000##FFFFFF
##BA276F1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475471
Deuteranopia (green-blind)
#706F6C
Tritanopia (blue-blind)
#C90C48
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba276f;
/* rgb */ color: rgb(186, 39, 111);
/* oklch */ color: oklch(53.2% 0.190 356.5);
Tailwind
colors: {
  custom: {
    50: '#d47198',
    500: '#ba276f',
    950: '#000000',
  },
}
SCSS
$custom: #ba276f;
$custom-light: #d47198;
$custom-dark: #000000;
JSON
{
  "hex": "#ba276f",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 330.612,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53222,
    "c": 0.19045,
    "h": 356.5
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#BA276F
secondary
#72CB9F
accent
#E89640
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA276F

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

Preview Lab → · Contrast checker → · Palette generator →

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