#BA6282#BA6282

#BA6282 is a mid, moderate pink. Relative luminance 0.208; OKLCH L 60.8% C 0.118 H 358.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA6282
RGBrgb(186, 98, 130)
HSLhsl(338, 39%, 56%)
HSVhsv(338, 47%, 73%)
CMYKcmyk(0%, 47.3%, 30.1%, 27.1%)
CIE-LABlab(52.72, 39.04, -1.69)
CIE-LCHlch(52.72, 39.08, 357.52°)
OKLaboklab(60.77% 0.1183 -0.0039)
OKLCHoklch(60.77% 0.118 358.1)
XYZxyz(28.6477, 20.7886, 23.6186)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6282 #62BA9A
analogous
#BA62AE #BA6282 #BA6E62
triadic
#BA6282 #82BA62 #6282BA
tetradic
#BA6282 #AEBA62 #62BA9A #6E62BA
square
#BA6282 #AEBA62 #62BA9A #6E62BA
split-complementary
#BA6282 #62BA6E #62AEBA
monochromatic
#703148 #9B4464 #BA6282 #CD8DA4 #DFB7C6

Accessibility & contrast

On white

4.07
#BA6282 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#BA6282 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6282
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6282#FFFFFF#000000##000000
##BA62821.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7483
Deuteranopia (green-blind)
#858480
Tritanopia (blue-blind)
#C65C6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba6282;
/* rgb */ color: rgb(186, 98, 130);
/* oklch */ color: oklch(60.8% 0.118 358.1);
Tailwind
colors: {
  custom: {
    50: '#d191a6',
    500: '#ba6282',
    950: '#000000',
  },
}
SCSS
$custom: #ba6282;
$custom-light: #d191a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6282",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 130
  },
  "hsl": {
    "h": 338.182,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.11834,
    "h": 358.1
  },
  "luminance": 0.20786
}

Semantic roles & 50–950 ramp

primary
#BA6282
secondary
#AACEC1
accent
#CFA459
background
#FDF9FA
surface
#FAF1F4
border
#D3CBCE
text
#140D0F
muted
#837E7F

Preview Lab

Preview with #BA6282

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

Preview Lab → · Contrast checker → · Palette generator →

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