#BA456F#BA456F

#BA456F is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.1% C 0.155 H 1.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA456F
RGBrgb(186, 69, 111)
HSLhsl(338, 46%, 50%)
HSVhsv(338, 63%, 73%)
CMYKcmyk(0%, 62.9%, 40.3%, 27.1%)
CIE-LABlab(46.77, 50.85, 1.03)
CIE-LCHlch(46.77, 50.86, 1.16°)
OKLaboklab(56.13% 0.1553 0.0033)
OKLCHoklch(56.13% 0.155 1.2)
XYZxyz(25.2487, 15.8459, 16.7648)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA456F #45BA90
analogous
#BA45A9 #BA456F #BA5645
triadic
#BA456F #6FBA45 #456FBA
tetradic
#BA456F #A9BA45 #45BA90 #5645BA
square
#BA456F #A9BA45 #45BA90 #5645BA
split-complementary
#BA456F #45BA56 #45A9BA
monochromatic
#61243A #8D3454 #BA456F #CB7292 #DB9EB4

Accessibility & contrast

On white

5.04
#BA456F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA456F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA456F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA456F#FFFFFF#000000##FFFFFF
##BA456F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6170
Deuteranopia (green-blind)
#7A776C
Tritanopia (blue-blind)
#C93955
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba456f;
/* rgb */ color: rgb(186, 69, 111);
/* oklch */ color: oklch(56.1% 0.155 1.2);
Tailwind
colors: {
  custom: {
    50: '#d37f98',
    500: '#ba456f',
    950: '#000000',
  },
}
SCSS
$custom: #ba456f;
$custom-light: #d37f98;
$custom-dark: #000000;
JSON
{
  "hex": "#ba456f",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 111
  },
  "hsl": {
    "h": 338.462,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.56133,
    "c": 0.15536,
    "h": 1.2
  },
  "luminance": 0.15843
}

Semantic roles & 50–950 ramp

primary
#BA456F
secondary
#93C8B5
accent
#D6A652
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA456F

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

Preview Lab → · Contrast checker → · Palette generator →

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