#BA2C8F#BA2C8F

#BA2C8F is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.9% C 0.202 H 343.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BA2C8F
RGBrgb(186, 44, 143)
HSLhsl(318, 62%, 45%)
HSVhsv(318, 76%, 73%)
CMYKcmyk(0%, 76.3%, 23.1%, 27.1%)
CIE-LABlab(44.56, 64.01, -21.79)
CIE-LCHlch(44.56, 67.62, 341.20°)
OKLaboklab(54.88% 0.1931 -0.0583)
OKLCHoklch(54.88% 0.202 343.2)
XYZxyz(26.1093, 14.2264, 27.3522)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C8F #2CBA57
analogous
#9E2CBA #BA2C8F #BA2C48
triadic
#BA2C8F #8FBA2C #2C8FBA
tetradic
#BA2C8F #BA9E2C #2CBA57 #2C48BA
square
#BA2C8F #BA9E2C #2CBA57 #2C48BA
split-complementary
#BA2C8F #48BA2C #2CBA9E
monochromatic
#571543 #892069 #BA2C8F #D54EAC #E180C3

Accessibility & contrast

On white

5.46
#BA2C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA2C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C8F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C8F#FFFFFF#000000##FFFFFF
##BA2C8F1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A92
Deuteranopia (green-blind)
#68728C
Tritanopia (blue-blind)
#C62C5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2c8f;
/* rgb */ color: rgb(186, 44, 143);
/* oklch */ color: oklch(54.9% 0.202 343.2);
Tailwind
colors: {
  custom: {
    50: '#d374b0',
    500: '#ba2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c8f;
$custom-light: #d374b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c8f",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 318.169,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5488,
    "c": 0.20169,
    "h": 343.2
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#BA2C8F
secondary
#78CA91
accent
#E57443
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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