#BA628B#BA628B

#BA628B is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.1% C 0.123 H 352.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA628B
RGBrgb(186, 98, 139)
HSLhsl(332, 39%, 56%)
HSVhsv(332, 47%, 73%)
CMYKcmyk(0%, 47.3%, 25.3%, 27.1%)
CIE-LABlab(52.99, 40.29, -6.60)
CIE-LCHlch(52.99, 40.83, 350.69°)
OKLaboklab(61.07% 0.1213 -0.017)
OKLCHoklch(61.07% 0.123 352)
XYZxyz(29.2784, 21.0409, 26.9404)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA628B #62BA91
analogous
#BA62B7 #BA628B #BA6562
triadic
#BA628B #8BBA62 #628BBA
tetradic
#BA628B #B7BA62 #62BA91 #6562BA
square
#BA628B #B7BA62 #62BA91 #6562BA
split-complementary
#BA628B #62BA65 #62B7BA
monochromatic
#70314F #9B446C #BA628B #CD8DAA #DFB7CA

Accessibility & contrast

On white

4.03
#BA628B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#BA628B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA628B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA628B#FFFFFF#000000##000000
##BA628B1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C758C
Deuteranopia (green-blind)
#838489
Tritanopia (blue-blind)
#C55F71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba628b;
/* rgb */ color: rgb(186, 98, 139);
/* oklch */ color: oklch(61.1% 0.123 352.0);
Tailwind
colors: {
  custom: {
    50: '#d191ac',
    500: '#ba628b',
    950: '#000000',
  },
}
SCSS
$custom: #ba628b;
$custom-light: #d191ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba628b",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 139
  },
  "hsl": {
    "h": 332.045,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.12252,
    "h": 352
  },
  "luminance": 0.21039
}

Semantic roles & 50–950 ramp

primary
#BA628B
secondary
#AACEBD
accent
#CF9859
background
#FDF9FA
surface
#FAF1F4
border
#D3CBCE
text
#140D10
muted
#837E7F

Preview Lab

Preview with #BA628B

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

Preview Lab → · Contrast checker → · Palette generator →

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