#BA2456#BA2456

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

Color values

HEX#BA2456
RGBrgb(186, 36, 86)
HSLhsl(340, 68%, 44%)
HSVhsv(340, 81%, 73%)
CMYKcmyk(0%, 80.6%, 53.8%, 27.1%)
CIE-LABlab(41.81, 60.42, 9.42)
CIE-LCHlch(41.81, 61.15, 8.87°)
OKLaboklab(52.24% 0.1842 0.0242)
OKLCHoklch(52.24% 0.186 7.5)
XYZxyz(22.5624, 12.3760, 10.0030)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2456 #24BA88
analogous
#BA24A1 #BA2456 #BA3D24
triadic
#BA2456 #56BA24 #2456BA
tetradic
#BA2456 #A1BA24 #24BA88 #3D24BA
square
#BA2456 #A1BA24 #24BA88 #3D24BA
split-complementary
#BA2456 #24BA3D #24A1BA
monochromatic
#531027 #871A3E #BA2456 #DA4174 #E4749A

Accessibility & contrast

On white

6.04
#BA2456 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2456
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2456#FFFFFF#000000##FFFFFF
##BA24561.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5057
Deuteranopia (green-blind)
#746D52
Tritanopia (blue-blind)
#CB003A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2456;
/* rgb */ color: rgb(186, 36, 86);
/* oklch */ color: oklch(52.2% 0.186 7.5);
Tailwind
colors: {
  custom: {
    50: '#d56f85',
    500: '#ba2456',
    950: '#000000',
  },
}
SCSS
$custom: #ba2456;
$custom-light: #d56f85;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2456",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 340,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.18578,
    "h": 7.5
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#BA2456
secondary
#6ECBAC
accent
#EAB13D
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BA2456

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

Preview Lab → · Contrast checker → · Palette generator →

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