#BA2856#BA2856

#BA2856 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.182 H 8.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA2856
RGBrgb(186, 40, 86)
HSLhsl(341, 65%, 44%)
HSVhsv(341, 78%, 73%)
CMYKcmyk(0%, 78.5%, 53.8%, 27.1%)
CIE-LABlab(42.20, 59.30, 9.98)
CIE-LCHlch(42.20, 60.13, 9.55°)
OKLaboklab(52.53% 0.1806 0.0255)
OKLCHoklch(52.53% 0.182 8)
XYZxyz(22.6903, 12.6318, 10.0457)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2856 #28BA8C
analogous
#BA289F #BA2856 #BA4328
triadic
#BA2856 #56BA28 #2856BA
tetradic
#BA2856 #9FBA28 #28BA8C #4328BA
square
#BA2856 #9FBA28 #28BA8C #4328BA
split-complementary
#BA2856 #28BA43 #289FBA
monochromatic
#551227 #881D3F #BA2856 #D84875 #E27A9B

Accessibility & contrast

On white

5.96
#BA2856 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#BA2856 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2856
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2856#FFFFFF#000000##FFFFFF
##BA28561.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5157
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2856;
/* rgb */ color: rgb(186, 40, 86);
/* oklch */ color: oklch(52.5% 0.182 8.0);
Tailwind
colors: {
  custom: {
    50: '#d57185',
    500: '#ba2856',
    950: '#000000',
  },
}
SCSS
$custom: #ba2856;
$custom-light: #d57185;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2856",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 341.096,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.18237,
    "h": 8
  },
  "luminance": 0.12629
}

Semantic roles & 50–950 ramp

primary
#BA2856
secondary
#73CAAF
accent
#E8B340
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #BA2856

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

Preview Lab → · Contrast checker → · Palette generator →

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