#BA264C#BA264C

#BA264C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.183 H 12.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#BA264C
RGBrgb(186, 38, 76)
HSLhsl(345, 66%, 44%)
HSVhsv(345, 80%, 73%)
CMYKcmyk(0%, 79.6%, 59.1%, 27.1%)
CIE-LABlab(41.77, 59.15, 15.66)
CIE-LCHlch(41.77, 61.19, 14.83°)
OKLaboklab(52.13% 0.1786 0.0388)
OKLCHoklch(52.13% 0.183 12.3)
XYZxyz(22.2496, 12.3504, 8.0484)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA264C #26BA94
analogous
#BA2696 #BA264C #BA4A26
triadic
#BA264C #4CBA26 #264CBA
tetradic
#BA264C #96BA26 #26BA94 #4A26BA
square
#BA264C #96BA26 #26BA94 #4A26BA
split-complementary
#BA264C #26BA4A #2696BA
monochromatic
#541122 #871C37 #BA264C #D9446A #E37793

Accessibility & contrast

On white

6.05
#BA264C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#BA264C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA264C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA264C#FFFFFF#000000##FFFFFF
##BA264C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4C
Deuteranopia (green-blind)
#766D48
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba264c;
/* rgb */ color: rgb(186, 38, 76);
/* oklch */ color: oklch(52.1% 0.183 12.3);
Tailwind
colors: {
  custom: {
    50: '#d6707d',
    500: '#ba264c',
    950: '#000000',
  },
}
SCSS
$custom: #ba264c;
$custom-light: #d6707d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba264c",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 344.595,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.18275,
    "h": 12.3
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#BA264C
secondary
#71CBB4
accent
#E9BD3F
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA264C

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

Preview Lab → · Contrast checker → · Palette generator →

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