#BA2E58#BA2E58

#BA2E58 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.177 H 8.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#BA2E58
RGBrgb(186, 46, 88)
HSLhsl(342, 60%, 45%)
HSVhsv(342, 75%, 73%)
CMYKcmyk(0%, 75.3%, 52.7%, 27.1%)
CIE-LABlab(42.91, 57.59, 9.72)
CIE-LCHlch(42.91, 58.40, 9.58°)
OKLaboklab(53.07% 0.1753 0.025)
OKLCHoklch(53.07% 0.177 8.1)
XYZxyz(22.9902, 13.1009, 10.5487)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E58 #2EBA90
analogous
#BA2E9E #BA2E58 #BA4A2E
triadic
#BA2E58 #58BA2E #2E58BA
tetradic
#BA2E58 #9EBA2E #2EBA90 #4A2EBA
square
#BA2E58 #9EBA2E #2EBA90 #4A2EBA
split-complementary
#BA2E58 #2EBA4A #2E9EBA
monochromatic
#58162A #892241 #BA2E58 #D45178 #E0829E

Accessibility & contrast

On white

5.80
#BA2E58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA2E58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E58
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E58#FFFFFF#000000##FFFFFF
##BA2E581.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525359
Deuteranopia (green-blind)
#767055
Tritanopia (blue-blind)
#CB0440
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e58;
/* rgb */ color: rgb(186, 46, 88);
/* oklch */ color: oklch(53.1% 0.177 8.1);
Tailwind
colors: {
  custom: {
    50: '#d57386',
    500: '#ba2e58',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e58;
$custom-light: #d57386;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e58",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 342,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.17709,
    "h": 8.1
  },
  "luminance": 0.13098
}

Semantic roles & 50–950 ramp

primary
#BA2E58
secondary
#7BC9B2
accent
#E3B444
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2E58

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

Preview Lab → · Contrast checker → · Palette generator →

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