#BA457E#BA457E

#BA457E is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.6% C 0.161 H 353.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA457E
RGBrgb(186, 69, 126)
HSLhsl(331, 46%, 50%)
HSVhsv(331, 63%, 73%)
CMYKcmyk(0%, 62.9%, 32.3%, 27.1%)
CIE-LABlab(47.24, 52.58, -7.40)
CIE-LCHlch(47.24, 53.10, 351.99°)
OKLaboklab(56.64% 0.1603 -0.0189)
OKLCHoklch(56.64% 0.161 353.3)
XYZxyz(26.1450, 16.2045, 21.4855)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA457E #45BA81
analogous
#BA45B9 #BA457E #BA4645
triadic
#BA457E #7EBA45 #457EBA
tetradic
#BA457E #B9BA45 #45BA81 #4645BA
square
#BA457E #B9BA45 #45BA81 #4645BA
split-complementary
#BA457E #45BA46 #45B9BA
monochromatic
#612442 #8D3460 #BA457E #CB729D #DB9EBC

Accessibility & contrast

On white

4.95
#BA457E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA457E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA457E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA457E#FFFFFF#000000##FFFFFF
##BA457E1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576380
Deuteranopia (green-blind)
#77787B
Tritanopia (blue-blind)
#C83E5C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba457e;
/* rgb */ color: rgb(186, 69, 126);
/* oklch */ color: oklch(56.6% 0.161 353.3);
Tailwind
colors: {
  custom: {
    50: '#d27fa3',
    500: '#ba457e',
    950: '#000000',
  },
}
SCSS
$custom: #ba457e;
$custom-light: #d27fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba457e",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 330.769,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.16136,
    "h": 353.3
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#BA457E
secondary
#93C8AE
accent
#D69652
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA457E

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

Preview Lab → · Contrast checker → · Palette generator →

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