#BA627C#BA627C

#BA627C is a mid, moderate pink. Relative luminance 0.206; OKLCH L 60.6% C 0.116 H 2.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA627C
RGBrgb(186, 98, 124)
HSLhsl(342, 39%, 56%)
HSVhsv(342, 47%, 73%)
CMYKcmyk(0%, 47.3%, 33.3%, 27.1%)
CIE-LABlab(52.54, 38.26, 1.61)
CIE-LCHlch(52.54, 38.29, 2.41°)
OKLaboklab(60.59% 0.1161 0.0047)
OKLCHoklch(60.59% 0.116 2.3)
XYZxyz(28.2567, 20.6322, 21.5591)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA627C #62BAA0
analogous
#BA62A8 #BA627C #BA7462
triadic
#BA627C #7CBA62 #627CBA
tetradic
#BA627C #A8BA62 #62BAA0 #7462BA
square
#BA627C #A8BA62 #62BAA0 #7462BA
split-complementary
#BA627C #62BA74 #62A8BA
monochromatic
#703144 #9B445E #BA627C #CD8D9F #DFB7C3

Accessibility & contrast

On white

4.10
#BA627C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#BA627C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA627C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA627C#FFFFFF#000000##000000
##BA627C1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70737D
Deuteranopia (green-blind)
#86847A
Tritanopia (blue-blind)
#C75B6B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba627c;
/* rgb */ color: rgb(186, 98, 124);
/* oklch */ color: oklch(60.6% 0.116 2.3);
Tailwind
colors: {
  custom: {
    50: '#d191a1',
    500: '#ba627c',
    950: '#000000',
  },
}
SCSS
$custom: #ba627c;
$custom-light: #d191a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba627c",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 124
  },
  "hsl": {
    "h": 342.273,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60585,
    "c": 0.1162,
    "h": 2.3
  },
  "luminance": 0.2063
}

Semantic roles & 50–950 ramp

primary
#BA627C
secondary
#AACEC3
accent
#CFAC59
background
#FDF9F9
surface
#FAF1F2
border
#D3CBCC
text
#140D0F
muted
#837E7E

Preview Lab

Preview with #BA627C

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

Preview Lab → · Contrast checker → · Palette generator →

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