#BA2B57#BA2B57

#BA2B57 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.180 H 8.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA2B57
RGBrgb(186, 43, 87)
HSLhsl(342, 62%, 45%)
HSVhsv(342, 77%, 73%)
CMYKcmyk(0%, 76.9%, 53.2%, 27.1%)
CIE-LABlab(42.55, 58.47, 9.83)
CIE-LCHlch(42.55, 59.29, 9.55°)
OKLaboklab(52.79% 0.178 0.0252)
OKLCHoklch(52.79% 0.18 8.1)
XYZxyz(22.8360, 12.8582, 10.2944)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B57 #2BBA8E
analogous
#BA2B9F #BA2B57 #BA462B
triadic
#BA2B57 #57BA2B #2B57BA
tetradic
#BA2B57 #9FBA2B #2BBA8E #462BBA
square
#BA2B57 #9FBA2B #2BBA8E #462BBA
split-complementary
#BA2B57 #2BBA46 #2B9FBA
monochromatic
#571428 #882040 #BA2B57 #D64C77 #E17E9D

Accessibility & contrast

On white

5.88
#BA2B57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA2B57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B57
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B57#FFFFFF#000000##FFFFFF
##BA2B571.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505258
Deuteranopia (green-blind)
#756F54
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2b57;
/* rgb */ color: rgb(186, 43, 87);
/* oklch */ color: oklch(52.8% 0.180 8.1);
Tailwind
colors: {
  custom: {
    50: '#d57286',
    500: '#ba2b57',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b57;
$custom-light: #d57286;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b57",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 87
  },
  "hsl": {
    "h": 341.538,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.17981,
    "h": 8.1
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#BA2B57
secondary
#77CAB0
accent
#E6B342
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2B57

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

Preview Lab → · Contrast checker → · Palette generator →

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