#BA458F#BA458F

#BA458F is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.3% C 0.171 H 344.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA458F
RGBrgb(186, 69, 143)
HSLhsl(322, 46%, 50%)
HSVhsv(322, 63%, 73%)
CMYKcmyk(0%, 62.9%, 23.1%, 27.1%)
CIE-LABlab(47.86, 54.80, -16.72)
CIE-LCHlch(47.86, 57.30, 343.03°)
OKLaboklab(57.29% 0.1649 -0.0444)
OKLCHoklch(57.29% 0.171 344.9)
XYZxyz(27.3367, 16.6811, 27.7614)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA458F #45BA70
analogous
#AA45BA #BA458F #BA4555
triadic
#BA458F #8FBA45 #458FBA
tetradic
#BA458F #BAAA45 #45BA70 #4555BA
square
#BA458F #BAAA45 #45BA70 #4555BA
split-complementary
#BA458F #55BA45 #45BAAA
monochromatic
#61244A #8D346D #BA458F #CB72AA #DB9EC5

Accessibility & contrast

On white

4.84
#BA458F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA458F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA458F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA458F#FFFFFF#000000##FFFFFF
##BA458F1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506591
Deuteranopia (green-blind)
#72798C
Tritanopia (blue-blind)
#C64464
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba458f;
/* rgb */ color: rgb(186, 69, 143);
/* oklch */ color: oklch(57.3% 0.171 344.9);
Tailwind
colors: {
  custom: {
    50: '#d280b0',
    500: '#ba458f',
    950: '#000000',
  },
}
SCSS
$custom: #ba458f;
$custom-light: #d280b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba458f",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 322.051,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.17072,
    "h": 344.9
  },
  "luminance": 0.16679
}

Semantic roles & 50–950 ramp

primary
#BA458F
secondary
#93C8A6
accent
#D68352
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA458F

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

Preview Lab → · Contrast checker → · Palette generator →

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