#BA628D#BA628D

#BA628D is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.1% C 0.124 H 350.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA628D
RGBrgb(186, 98, 141)
HSLhsl(331, 39%, 56%)
HSVhsv(331, 47%, 73%)
CMYKcmyk(0%, 47.3%, 24.2%, 27.1%)
CIE-LABlab(53.06, 40.58, -7.69)
CIE-LCHlch(53.06, 41.30, 349.27°)
OKLaboklab(61.14% 0.122 -0.0199)
OKLCHoklch(61.14% 0.124 350.7)
XYZxyz(29.4259, 21.0999, 27.7170)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA628D #62BA8F
analogous
#BA62B9 #BA628D #BA6362
triadic
#BA628D #8DBA62 #628DBA
tetradic
#BA628D #B9BA62 #62BA8F #6362BA
square
#BA628D #B9BA62 #62BA8F #6362BA
split-complementary
#BA628D #62BA63 #62B9BA
monochromatic
#703150 #9B446E #BA628D #CD8DAC #DFB7CB

Accessibility & contrast

On white

4.02
#BA628D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#BA628D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA628D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA628D#FFFFFF#000000##000000
##BA628D1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C758E
Deuteranopia (green-blind)
#82848B
Tritanopia (blue-blind)
#C55F72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba628d;
/* rgb */ color: rgb(186, 98, 141);
/* oklch */ color: oklch(61.1% 0.124 350.7);
Tailwind
colors: {
  custom: {
    50: '#d191ae',
    500: '#ba628d',
    950: '#000000',
  },
}
SCSS
$custom: #ba628d;
$custom-light: #d191ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba628d",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 141
  },
  "hsl": {
    "h": 330.682,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61142,
    "c": 0.12361,
    "h": 350.7
  },
  "luminance": 0.21098
}

Semantic roles & 50–950 ramp

primary
#BA628D
secondary
#AACEBC
accent
#CF9559
background
#FDF9FA
surface
#FAF1F4
border
#D3CBCE
text
#140D10
muted
#837E7F

Preview Lab

Preview with #BA628D

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

Preview Lab → · Contrast checker → · Palette generator →

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