#BA538F#BA538F

#BA538F is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.0% C 0.149 H 346.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA538F
RGBrgb(186, 83, 143)
HSLhsl(325, 43%, 53%)
HSVhsv(325, 55%, 73%)
CMYKcmyk(0%, 55.4%, 23.1%, 27.1%)
CIE-LABlab(50.23, 48.41, -13.12)
CIE-LCHlch(50.23, 50.16, 344.84°)
OKLaboklab(59.05% 0.1454 -0.0346)
OKLCHoklch(59.05% 0.149 346.6)
XYZxyz(28.3017, 18.6113, 28.0830)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA538F #53BA7E
analogous
#B253BA #BA538F #BA535B
triadic
#BA538F #8FBA53 #538FBA
tetradic
#BA538F #BAB253 #53BA7E #535BBA
square
#BA538F #BAB253 #53BA7E #535BBA
split-complementary
#BA538F #5BBA53 #53BAB2
monochromatic
#692A4E #943B6F #BA538F #CC7FAB #DDAAC8

Accessibility & contrast

On white

4.45
#BA538F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BA538F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA538F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA538F#FFFFFF#000000##000000
##BA538F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6D91
Deuteranopia (green-blind)
#797E8C
Tritanopia (blue-blind)
#C5516B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba538f;
/* rgb */ color: rgb(186, 83, 143);
/* oklch */ color: oklch(59.0% 0.149 346.6);
Tailwind
colors: {
  custom: {
    50: '#d188af',
    500: '#ba538f',
    950: '#000000',
  },
}
SCSS
$custom: #ba538f;
$custom-light: #d188af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba538f",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 325.049,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.14946,
    "h": 346.6
  },
  "luminance": 0.18609
}

Semantic roles & 50–950 ramp

primary
#BA538F
secondary
#9ECBB1
accent
#D38A55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA538F

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

Preview Lab → · Contrast checker → · Palette generator →

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