#BA2451#BA2451

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

Color values

HEX#BA2451
RGBrgb(186, 36, 81)
HSLhsl(342, 68%, 44%)
HSVhsv(342, 81%, 73%)
CMYKcmyk(0%, 80.6%, 56.5%, 27.1%)
CIE-LABlab(41.69, 60.05, 12.41)
CIE-LCHlch(41.69, 61.32, 11.67°)
OKLaboklab(52.11% 0.1823 0.0313)
OKLCHoklch(52.11% 0.185 9.7)
XYZxyz(22.3680, 12.2982, 8.9790)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2451 #24BA8D
analogous
#BA249C #BA2451 #BA4224
triadic
#BA2451 #51BA24 #2451BA
tetradic
#BA2451 #9CBA24 #24BA8D #4224BA
square
#BA2451 #9CBA24 #24BA8D #4224BA
split-complementary
#BA2451 #24BA42 #249CBA
monochromatic
#531024 #871A3B #BA2451 #DA416F #E47496

Accessibility & contrast

On white

6.07
#BA2451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#BA2451 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2451
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2451#FFFFFF#000000##FFFFFF
##BA24511.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F52
Deuteranopia (green-blind)
#756D4D
Tritanopia (blue-blind)
#CB0038
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2451;
/* rgb */ color: rgb(186, 36, 81);
/* oklch */ color: oklch(52.1% 0.185 9.7);
Tailwind
colors: {
  custom: {
    50: '#d66f81',
    500: '#ba2451',
    950: '#000000',
  },
}
SCSS
$custom: #ba2451;
$custom-light: #d66f81;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2451",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 342,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5211,
    "c": 0.18496,
    "h": 9.7
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#BA2451
secondary
#6ECBAF
accent
#EAB73D
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA2451

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

Preview Lab → · Contrast checker → · Palette generator →

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