#BA2357#BA2357

#BA2357 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.187 H 6.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#BA2357
RGBrgb(186, 35, 87)
HSLhsl(339, 68%, 43%)
HSVhsv(339, 81%, 73%)
CMYKcmyk(0%, 81.2%, 53.2%, 27.1%)
CIE-LABlab(41.74, 60.76, 8.70)
CIE-LCHlch(41.74, 61.38, 8.15°)
OKLaboklab(52.2% 0.1854 0.0224)
OKLCHoklch(52.2% 0.187 6.9)
XYZxyz(22.5732, 12.3325, 10.2068)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2357 #23BA86
analogous
#BA23A2 #BA2357 #BA3B23
triadic
#BA2357 #57BA23 #2357BA
tetradic
#BA2357 #A2BA23 #23BA86 #3B23BA
square
#BA2357 #A2BA23 #23BA86 #3B23BA
split-complementary
#BA2357 #23BA3B #23A2BA
monochromatic
#531027 #86193F #BA2357 #DB3F75 #E5739A

Accessibility & contrast

On white

6.06
#BA2357 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2357
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2357#FFFFFF#000000##FFFFFF
##BA23571.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F58
Deuteranopia (green-blind)
#746D53
Tritanopia (blue-blind)
#CB003A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2357;
/* rgb */ color: rgb(186, 35, 87);
/* oklch */ color: oklch(52.2% 0.187 6.9);
Tailwind
colors: {
  custom: {
    50: '#d56f86',
    500: '#ba2357',
    950: '#000000',
  },
}
SCSS
$custom: #ba2357;
$custom-light: #d56f86;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2357",
  "rgb": {
    "r": 186,
    "g": 35,
    "b": 87
  },
  "hsl": {
    "h": 339.338,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.18678,
    "h": 6.9
  },
  "luminance": 0.12329
}

Semantic roles & 50–950 ramp

primary
#BA2357
secondary
#6DCCAB
accent
#EBAF3D
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BA2357

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

Preview Lab → · Contrast checker → · Palette generator →

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