#BA458E#BA458E

#BA458E is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.3% C 0.170 H 345.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA458E
RGBrgb(186, 69, 142)
HSLhsl(323, 46%, 50%)
HSVhsv(323, 63%, 73%)
CMYKcmyk(0%, 62.9%, 23.7%, 27.1%)
CIE-LABlab(47.82, 54.67, -16.18)
CIE-LCHlch(47.82, 57.01, 343.51°)
OKLaboklab(57.25% 0.1646 -0.0429)
OKLCHoklch(57.25% 0.17 345.4)
XYZxyz(27.2612, 16.6510, 27.3642)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA458E #45BA71
analogous
#AB45BA #BA458E #BA4554
triadic
#BA458E #8EBA45 #458EBA
tetradic
#BA458E #BAAB45 #45BA71 #4554BA
square
#BA458E #BAAB45 #45BA71 #4554BA
split-complementary
#BA458E #54BA45 #45BAAB
monochromatic
#61244A #8D346C #BA458E #CB72A9 #DB9EC4

Accessibility & contrast

On white

4.85
#BA458E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA458E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA458E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA458E#FFFFFF#000000##FFFFFF
##BA458E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516590
Deuteranopia (green-blind)
#73798B
Tritanopia (blue-blind)
#C64363
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba458e;
/* rgb */ color: rgb(186, 69, 142);
/* oklch */ color: oklch(57.3% 0.170 345.4);
Tailwind
colors: {
  custom: {
    50: '#d280af',
    500: '#ba458e',
    950: '#000000',
  },
}
SCSS
$custom: #ba458e;
$custom-light: #d280af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba458e",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 322.564,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.17011,
    "h": 345.4
  },
  "luminance": 0.16648
}

Semantic roles & 50–950 ramp

primary
#BA458E
secondary
#93C8A7
accent
#D68452
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA458E

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

Preview Lab → · Contrast checker → · Palette generator →

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