#BA274C#BA274C

#BA274C is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.182 H 12.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#BA274C
RGBrgb(186, 39, 76)
HSLhsl(345, 65%, 44%)
HSVhsv(345, 79%, 73%)
CMYKcmyk(0%, 79%, 59.1%, 27.1%)
CIE-LABlab(41.87, 58.87, 15.80)
CIE-LCHlch(41.87, 60.95, 15.02°)
OKLaboklab(52.21% 0.1777 0.0391)
OKLCHoklch(52.21% 0.182 12.4)
XYZxyz(22.2820, 12.4152, 8.0592)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA274C #27BA95
analogous
#BA2796 #BA274C #BA4C27
triadic
#BA274C #4CBA27 #274CBA
tetradic
#BA274C #96BA27 #27BA95 #4C27BA
square
#BA274C #96BA27 #27BA95 #4C27BA
split-complementary
#BA274C #27BA4C #2796BA
monochromatic
#551223 #871C37 #BA274C #D8466B #E37993

Accessibility & contrast

On white

6.03
#BA274C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#BA274C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA274C
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA274C#FFFFFF#000000##FFFFFF
##BA274C1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504C
Deuteranopia (green-blind)
#766E48
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba274c;
/* rgb */ color: rgb(186, 39, 76);
/* oklch */ color: oklch(52.2% 0.182 12.4);
Tailwind
colors: {
  custom: {
    50: '#d6707d',
    500: '#ba274c',
    950: '#000000',
  },
}
SCSS
$custom: #ba274c;
$custom-light: #d6707d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba274c",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 344.898,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52208,
    "c": 0.18191,
    "h": 12.4
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#BA274C
secondary
#72CBB4
accent
#E8BE40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA274C

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

Preview Lab → · Contrast checker → · Palette generator →

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