#BA628A#BA628A

#BA628A is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.0% C 0.122 H 352.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA628A
RGBrgb(186, 98, 138)
HSLhsl(333, 39%, 56%)
HSVhsv(333, 47%, 73%)
CMYKcmyk(0%, 47.3%, 25.8%, 27.1%)
CIE-LABlab(52.96, 40.15, -6.06)
CIE-LCHlch(52.96, 40.60, 351.42°)
OKLaboklab(61.04% 0.121 -0.0155)
OKLCHoklch(61.04% 0.122 352.7)
XYZxyz(29.2057, 21.0118, 26.5573)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA628A #62BA92
analogous
#BA62B6 #BA628A #BA6662
triadic
#BA628A #8ABA62 #628ABA
tetradic
#BA628A #B6BA62 #62BA92 #6662BA
square
#BA628A #B6BA62 #62BA92 #6662BA
split-complementary
#BA628A #62BA66 #62B6BA
monochromatic
#70314E #9B446B #BA628A #CD8DAA #DFB7C9

Accessibility & contrast

On white

4.04
#BA628A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#BA628A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA628A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA628A#FFFFFF#000000##000000
##BA628A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C758B
Deuteranopia (green-blind)
#838488
Tritanopia (blue-blind)
#C65E71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba628a;
/* rgb */ color: rgb(186, 98, 138);
/* oklch */ color: oklch(61.0% 0.122 352.7);
Tailwind
colors: {
  custom: {
    50: '#d191ac',
    500: '#ba628a',
    950: '#000000',
  },
}
SCSS
$custom: #ba628a;
$custom-light: #d191ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba628a",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 138
  },
  "hsl": {
    "h": 332.727,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61038,
    "c": 0.122,
    "h": 352.7
  },
  "luminance": 0.21009
}

Semantic roles & 50–950 ramp

primary
#BA628A
secondary
#AACEBE
accent
#CF9959
background
#FDF9FA
surface
#FAF1F4
border
#D3CBCE
text
#140D10
muted
#837E7F

Preview Lab

Preview with #BA628A

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

Preview Lab → · Contrast checker → · Palette generator →

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