#BA2C5F#BA2C5F

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

Color values

HEX#BA2C5F
RGBrgb(186, 44, 95)
HSLhsl(338, 62%, 45%)
HSVhsv(338, 76%, 73%)
CMYKcmyk(0%, 76.3%, 48.9%, 27.1%)
CIE-LABlab(42.87, 58.82, 5.28)
CIE-LCHlch(42.87, 59.05, 5.13°)
OKLaboklab(53.1% 0.18 0.0141)
OKLCHoklch(53.1% 0.181 4.5)
XYZxyz(23.2179, 13.0699, 12.1244)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C5F #2CBA87
analogous
#BA2CA6 #BA2C5F #BA402C
triadic
#BA2C5F #5FBA2C #2C5FBA
tetradic
#BA2C5F #A6BA2C #2CBA87 #402CBA
square
#BA2C5F #A6BA2C #2CBA87 #402CBA
split-complementary
#BA2C5F #2CBA40 #2CA6BA
monochromatic
#57152C #892046 #BA2C5F #D54E7F #E180A2

Accessibility & contrast

On white

5.81
#BA2C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#BA2C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C5F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C5F#FFFFFF#000000##FFFFFF
##BA2C5F1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5360
Deuteranopia (green-blind)
#746F5C
Tritanopia (blue-blind)
#CB0642
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2c5f;
/* rgb */ color: rgb(186, 44, 95);
/* oklch */ color: oklch(53.1% 0.181 4.5);
Tailwind
colors: {
  custom: {
    50: '#d5728c',
    500: '#ba2c5f',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c5f;
$custom-light: #d5728c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c5f",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 338.451,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53096,
    "c": 0.18053,
    "h": 4.5
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#BA2C5F
secondary
#78CAAC
accent
#E5AB43
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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