#BA335E#BA335E

#BA335E is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.173 H 6.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#BA335E
RGBrgb(186, 51, 94)
HSLhsl(341, 57%, 46%)
HSVhsv(341, 73%, 73%)
CMYKcmyk(0%, 72.6%, 49.5%, 27.1%)
CIE-LABlab(43.68, 56.38, 7.06)
CIE-LCHlch(43.68, 56.82, 7.14°)
OKLaboklab(53.69% 0.1721 0.0185)
OKLCHoklch(53.69% 0.173 6.1)
XYZxyz(23.4559, 13.6180, 11.9809)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA335E #33BA8F
analogous
#BA33A2 #BA335E #BA4C33
triadic
#BA335E #5EBA33 #335EBA
tetradic
#BA335E #A2BA33 #33BA8F #4C33BA
square
#BA335E #A2BA33 #33BA8F #4C33BA
split-complementary
#BA335E #33BA4C #33A2BA
monochromatic
#5A192D #8A2646 #BA335E #D1597F #DF89A4

Accessibility & contrast

On white

5.64
#BA335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#BA335E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA335E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA335E#FFFFFF#000000##FFFFFF
##BA335E1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53565F
Deuteranopia (green-blind)
#77715B
Tritanopia (blue-blind)
#CB1745
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba335e;
/* rgb */ color: rgb(186, 51, 94);
/* oklch */ color: oklch(53.7% 0.173 6.1);
Tailwind
colors: {
  custom: {
    50: '#d5758b',
    500: '#ba335e',
    950: '#000000',
  },
}
SCSS
$custom: #ba335e;
$custom-light: #d5758b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba335e",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 340.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.17306,
    "h": 6.1
  },
  "luminance": 0.13615
}

Semantic roles & 50–950 ramp

primary
#BA335E
secondary
#80C9B2
accent
#E0B048
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA335E

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

Preview Lab → · Contrast checker → · Palette generator →

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