#BA2C8B#BA2C8B

#BA2C8B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.7% C 0.199 H 344.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA2C8B
RGBrgb(186, 44, 139)
HSLhsl(320, 62%, 45%)
HSVhsv(320, 76%, 73%)
CMYKcmyk(0%, 76.3%, 25.3%, 27.1%)
CIE-LABlab(44.39, 63.50, -19.62)
CIE-LCHlch(44.39, 66.47, 342.83°)
OKLaboklab(54.7% 0.1924 -0.0523)
OKLCHoklch(54.7% 0.199 344.8)
XYZxyz(25.8117, 14.1074, 25.7848)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C8B #2CBA5B
analogous
#A22CBA #BA2C8B #BA2C44
triadic
#BA2C8B #8BBA2C #2C8BBA
tetradic
#BA2C8B #BAA22C #2CBA5B #2C44BA
square
#BA2C8B #BAA22C #2CBA5B #2C44BA
split-complementary
#BA2C8B #44BA2C #2CBAA2
monochromatic
#571541 #892066 #BA2C8B #D54EA8 #E180C1

Accessibility & contrast

On white

5.50
#BA2C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BA2C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C8B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C8B#FFFFFF#000000##FFFFFF
##BA2C8B1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8E
Deuteranopia (green-blind)
#6A7288
Tritanopia (blue-blind)
#C72A58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2c8b;
/* rgb */ color: rgb(186, 44, 139);
/* oklch */ color: oklch(54.7% 0.199 344.8);
Tailwind
colors: {
  custom: {
    50: '#d374ad',
    500: '#ba2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c8b;
$custom-light: #d374ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c8b",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 319.859,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.19933,
    "h": 344.8
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#BA2C8B
secondary
#78CA93
accent
#E57943
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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