#BA588F#BA588F

#BA588F is a mid, vivid pink. Relative luminance 0.194; OKLCH L 59.7% C 0.141 H 347.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA588F
RGBrgb(186, 88, 143)
HSLhsl(326, 42%, 54%)
HSVhsv(326, 53%, 73%)
CMYKcmyk(0%, 52.7%, 23.1%, 27.1%)
CIE-LABlab(51.16, 45.97, -11.72)
CIE-LCHlch(51.16, 47.44, 345.70°)
OKLaboklab(59.74% 0.138 -0.0308)
OKLCHoklch(59.74% 0.141 347.4)
XYZxyz(28.6982, 19.4041, 28.2152)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA588F #58BA83
analogous
#B458BA #BA588F #BA585E
triadic
#BA588F #8FBA58 #588FBA
tetradic
#BA588F #BAB458 #58BA83 #585EBA
square
#BA588F #BAB458 #58BA83 #585EBA
split-complementary
#BA588F #5EBA58 #58BAB4
monochromatic
#6B2C50 #973E70 #BA588F #CC83AC #DEAFC9

Accessibility & contrast

On white

4.30
#BA588F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BA588F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA588F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA588F#FFFFFF#000000##000000
##BA588F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F91
Deuteranopia (green-blind)
#7C808D
Tritanopia (blue-blind)
#C5566D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba588f;
/* rgb */ color: rgb(186, 88, 143);
/* oklch */ color: oklch(59.7% 0.141 347.4);
Tailwind
colors: {
  custom: {
    50: '#d18baf',
    500: '#ba588f',
    950: '#000000',
  },
}
SCSS
$custom: #ba588f;
$custom-light: #d18baf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba588f",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 143
  },
  "hsl": {
    "h": 326.327,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59738,
    "c": 0.14139,
    "h": 347.4
  },
  "luminance": 0.19402
}

Semantic roles & 50–950 ramp

primary
#BA588F
secondary
#A2CCB4
accent
#D18C56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA588F

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

Preview Lab → · Contrast checker → · Palette generator →

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