#BA628E#BA628E

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

Color values

HEX#BA628E
RGBrgb(186, 98, 142)
HSLhsl(330, 39%, 56%)
HSVhsv(330, 47%, 73%)
CMYKcmyk(0%, 47.3%, 23.7%, 27.1%)
CIE-LABlab(53.09, 40.73, -8.23)
CIE-LCHlch(53.09, 41.55, 348.58°)
OKLaboklab(61.18% 0.1223 -0.0214)
OKLCHoklch(61.18% 0.124 350.1)
XYZxyz(29.5007, 21.1298, 28.1106)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA628E #62BA8E
analogous
#BA62BA #BA628E #BA6262
triadic
#BA628E #8EBA62 #628EBA
tetradic
#BA628E #BABA62 #62BA8E #6262BA
square
#BA628E #BABA62 #62BA8E #6262BA
split-complementary
#BA628E #62BA62 #62BABA
monochromatic
#703151 #9B446F #BA628E #CD8DAD #DFB7CB

Accessibility & contrast

On white

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

On black

5.23
#BA628E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA628E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA628E#FFFFFF#000000##000000
##BA628E1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba628e;
/* rgb */ color: rgb(186, 98, 142);
/* oklch */ color: oklch(61.2% 0.124 350.1);
Tailwind
colors: {
  custom: {
    50: '#d191af',
    500: '#ba628e',
    950: '#000000',
  },
}
SCSS
$custom: #ba628e;
$custom-light: #d191af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba628e",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 330,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61177,
    "c": 0.12417,
    "h": 350.1
  },
  "luminance": 0.21127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA628E

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

Preview Lab → · Contrast checker → · Palette generator →

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