#BA274D#BA274D

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

Color values

HEX#BA274D
RGBrgb(186, 39, 77)
HSLhsl(344, 65%, 44%)
HSVhsv(344, 79%, 73%)
CMYKcmyk(0%, 79%, 58.6%, 27.1%)
CIE-LABlab(41.89, 58.93, 15.20)
CIE-LCHlch(41.89, 60.86, 14.46°)
OKLaboklab(52.23% 0.1781 0.0378)
OKLCHoklch(52.23% 0.182 12)
XYZxyz(22.3170, 12.4293, 8.2437)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA274D #27BA94
analogous
#BA2797 #BA274D #BA4B27
triadic
#BA274D #4DBA27 #274DBA
tetradic
#BA274D #97BA27 #27BA94 #4B27BA
square
#BA274D #97BA27 #27BA94 #4B27BA
split-complementary
#BA274D #27BA4B #2797BA
monochromatic
#551223 #871C38 #BA274D #D8466C #E37994

Accessibility & contrast

On white

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

On black

3.49
#BA274D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA274D#FFFFFF#000000##FFFFFF
##BA274D1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50504D
Deuteranopia (green-blind)
#766E49
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba274d;
/* rgb */ color: rgb(186, 39, 77);
/* oklch */ color: oklch(52.2% 0.182 12.0);
Tailwind
colors: {
  custom: {
    50: '#d6707e',
    500: '#ba274d',
    950: '#000000',
  },
}
SCSS
$custom: #ba274d;
$custom-light: #d6707e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba274d",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 344.49,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52231,
    "c": 0.18201,
    "h": 12
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA274D

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

Preview Lab → · Contrast checker → · Palette generator →

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