#BA2859#BA2859

#BA2859 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.183 H 6.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#BA2859
RGBrgb(186, 40, 89)
HSLhsl(340, 65%, 44%)
HSVhsv(340, 78%, 73%)
CMYKcmyk(0%, 78.5%, 52.2%, 27.1%)
CIE-LABlab(42.28, 59.53, 8.20)
CIE-LCHlch(42.28, 60.09, 7.84°)
OKLaboklab(52.61% 0.1817 0.0212)
OKLCHoklch(52.61% 0.183 6.7)
XYZxyz(22.8138, 12.6812, 10.6957)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2859 #28BA89
analogous
#BA28A2 #BA2859 #BA4028
triadic
#BA2859 #59BA28 #2859BA
tetradic
#BA2859 #A2BA28 #28BA89 #4028BA
square
#BA2859 #A2BA28 #28BA89 #4028BA
split-complementary
#BA2859 #28BA40 #28A2BA
monochromatic
#551229 #881D41 #BA2859 #D84878 #E27A9D

Accessibility & contrast

On white

5.94
#BA2859 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA2859 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2859
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2859#FFFFFF#000000##FFFFFF
##BA28591.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E515A
Deuteranopia (green-blind)
#746E55
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2859;
/* rgb */ color: rgb(186, 40, 89);
/* oklch */ color: oklch(52.6% 0.183 6.7);
Tailwind
colors: {
  custom: {
    50: '#d57187',
    500: '#ba2859',
    950: '#000000',
  },
}
SCSS
$custom: #ba2859;
$custom-light: #d57187;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2859",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 89
  },
  "hsl": {
    "h": 339.863,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.18294,
    "h": 6.7
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#BA2859
secondary
#73CAAD
accent
#E8AF40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2859

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

Preview Lab → · Contrast checker → · Palette generator →

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