#BA255A#BA255A

#BA255A is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.186 H 5.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BA255A
RGBrgb(186, 37, 90)
HSLhsl(339, 67%, 44%)
HSVhsv(339, 80%, 73%)
CMYKcmyk(0%, 80.1%, 51.6%, 27.1%)
CIE-LABlab(42.01, 60.46, 7.18)
CIE-LCHlch(42.01, 60.89, 6.78°)
OKLaboklab(52.42% 0.1848 0.0188)
OKLCHoklch(52.42% 0.186 5.8)
XYZxyz(22.7588, 12.5037, 10.8859)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA255A #25BA85
analogous
#BA25A4 #BA255A #BA3B25
triadic
#BA255A #5ABA25 #255ABA
tetradic
#BA255A #A4BA25 #25BA85 #3B25BA
square
#BA255A #A4BA25 #25BA85 #3B25BA
split-complementary
#BA255A #25BA3B #25A4BA
monochromatic
#541129 #871B41 #BA255A #DA4378 #E4769D

Accessibility & contrast

On white

6.00
#BA255A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#BA255A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA255A
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA255A#FFFFFF#000000##FFFFFF
##BA255A1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D505B
Deuteranopia (green-blind)
#736E56
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba255a;
/* rgb */ color: rgb(186, 37, 90);
/* oklch */ color: oklch(52.4% 0.186 5.8);
Tailwind
colors: {
  custom: {
    50: '#d57088',
    500: '#ba255a',
    950: '#000000',
  },
}
SCSS
$custom: #ba255a;
$custom-light: #d57088;
$custom-dark: #000000;
JSON
{
  "hex": "#ba255a",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 338.658,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.18576,
    "h": 5.8
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#BA255A
secondary
#70CBAB
accent
#EAAD3E
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #BA255A

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

Preview Lab → · Contrast checker → · Palette generator →

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