#BA2E59#BA2E59

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

Color values

HEX#BA2E59
RGBrgb(186, 46, 89)
HSLhsl(342, 60%, 45%)
HSVhsv(342, 75%, 73%)
CMYKcmyk(0%, 75.3%, 52.2%, 27.1%)
CIE-LABlab(42.94, 57.67, 9.13)
CIE-LCHlch(42.94, 58.39, 9.00°)
OKLaboklab(53.1% 0.1757 0.0235)
OKLCHoklch(53.1% 0.177 7.6)
XYZxyz(23.0319, 13.1176, 10.7684)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E59 #2EBA8F
analogous
#BA2E9F #BA2E59 #BA492E
triadic
#BA2E59 #59BA2E #2E59BA
tetradic
#BA2E59 #9FBA2E #2EBA8F #492EBA
square
#BA2E59 #9FBA2E #2EBA8F #492EBA
split-complementary
#BA2E59 #2EBA49 #2E9FBA
monochromatic
#58162A #892242 #BA2E59 #D45179 #E0829F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2E59#FFFFFF#000000##FFFFFF
##BA2E591.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)
#51545A
Deuteranopia (green-blind)
#767056
Tritanopia (blue-blind)
#CB0640
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e59;
/* rgb */ color: rgb(186, 46, 89);
/* oklch */ color: oklch(53.1% 0.177 7.6);
Tailwind
colors: {
  custom: {
    50: '#d57387',
    500: '#ba2e59',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e59;
$custom-light: #d57387;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e59",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 89
  },
  "hsl": {
    "h": 341.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53098,
    "c": 0.17727,
    "h": 7.6
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#BA2E59
secondary
#7BC9B1
accent
#E3B344
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2E59

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

Preview Lab → · Contrast checker → · Palette generator →

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