#BA3E7D#BA3E7D

#BA3E7D is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.171 H 352.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA3E7D
RGBrgb(186, 62, 125)
HSLhsl(330, 50%, 49%)
HSVhsv(330, 67%, 73%)
CMYKcmyk(0%, 66.7%, 32.8%, 27.1%)
CIE-LABlab(46.13, 55.40, -8.45)
CIE-LCHlch(46.13, 56.04, 351.33°)
OKLaboklab(55.81% 0.1691 -0.0217)
OKLCHoklch(55.81% 0.171 352.7)
XYZxyz(25.6754, 15.3679, 21.0122)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E7D #3EBA7B
analogous
#B93EBA #BA3E7D #BA3E3F
triadic
#BA3E7D #7DBA3E #3E7DBA
tetradic
#BA3E7D #BAB93E #3EBA7B #3E3FBA
square
#BA3E7D #BAB93E #3EBA7B #3E3FBA
split-complementary
#BA3E7D #3FBA3E #3EBAB9
monochromatic
#5E1F3F #8C2F5E #BA3E7D #CD689B #DC96BA

Accessibility & contrast

On white

5.16
#BA3E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA3E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E7D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E7D#FFFFFF#000000##FFFFFF
##BA3E7D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7F
Deuteranopia (green-blind)
#74767A
Tritanopia (blue-blind)
#C83658
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3e7d;
/* rgb */ color: rgb(186, 62, 125);
/* oklch */ color: oklch(55.8% 0.171 352.7);
Tailwind
colors: {
  custom: {
    50: '#d37ca2',
    500: '#ba3e7d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e7d;
$custom-light: #d37ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e7d",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 329.516,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.1705,
    "h": 352.7
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#BA3E7D
secondary
#8CC8A9
accent
#DA934E
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA3E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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