#BA315A#BA315A

#BA315A is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.174 H 7.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#BA315A
RGBrgb(186, 49, 90)
HSLhsl(342, 58%, 46%)
HSVhsv(342, 74%, 73%)
CMYKcmyk(0%, 73.7%, 51.6%, 27.1%)
CIE-LABlab(43.33, 56.74, 9.05)
CIE-LCHlch(43.33, 57.46, 9.06°)
OKLaboklab(53.39% 0.1728 0.0234)
OKLCHoklch(53.39% 0.174 7.7)
XYZxyz(23.1955, 13.3771, 11.0315)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA315A #31BA91
analogous
#BA319E #BA315A #BA4C31
triadic
#BA315A #5ABA31 #315ABA
tetradic
#BA315A #9EBA31 #31BA91 #4C31BA
square
#BA315A #9EBA31 #31BA91 #4C31BA
split-complementary
#BA315A #31BA4C #319EBA
monochromatic
#59172B #8A2443 #BA315A #D2567B #DF86A1

Accessibility & contrast

On white

5.71
#BA315A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#BA315A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA315A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA315A#FFFFFF#000000##FFFFFF
##BA315A1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53555B
Deuteranopia (green-blind)
#777057
Tritanopia (blue-blind)
#CB1042
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba315a;
/* rgb */ color: rgb(186, 49, 90);
/* oklch */ color: oklch(53.4% 0.174 7.7);
Tailwind
colors: {
  custom: {
    50: '#d57488',
    500: '#ba315a',
    950: '#000000',
  },
}
SCSS
$custom: #ba315a;
$custom-light: #d57488;
$custom-dark: #000000;
JSON
{
  "hex": "#ba315a",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 342.044,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53391,
    "c": 0.17439,
    "h": 7.7
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#BA315A
secondary
#7EC9B2
accent
#E2B346
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA315A

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

Preview Lab → · Contrast checker → · Palette generator →

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