#BA306E#BA306E

#BA306E is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.181 H 358.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA306E
RGBrgb(186, 48, 110)
HSLhsl(333, 59%, 46%)
HSVhsv(333, 74%, 73%)
CMYKcmyk(0%, 74.2%, 40.9%, 27.1%)
CIE-LABlab(43.77, 58.92, -2.74)
CIE-LCHlch(43.77, 58.99, 357.33°)
OKLaboklab(53.91% 0.1809 -0.0065)
OKLCHoklch(53.91% 0.181 358)
XYZxyz(24.1228, 13.6818, 16.1194)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA306E #30BA7C
analogous
#BA30B3 #BA306E #BA3730
triadic
#BA306E #6EBA30 #306EBA
tetradic
#BA306E #B3BA30 #30BA7C #3730BA
square
#BA306E #B3BA30 #30BA7C #3730BA
split-complementary
#BA306E #30BA37 #30B3BA
monochromatic
#591734 #892351 #BA306E #D3548D #DF85AE

Accessibility & contrast

On white

5.62
#BA306E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#BA306E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA306E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA306E#FFFFFF#000000##FFFFFF
##BA306E1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5770
Deuteranopia (green-blind)
#73716B
Tritanopia (blue-blind)
#C91D4B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba306e;
/* rgb */ color: rgb(186, 48, 110);
/* oklch */ color: oklch(53.9% 0.181 358.0);
Tailwind
colors: {
  custom: {
    50: '#d47597',
    500: '#ba306e',
    950: '#000000',
  },
}
SCSS
$custom: #ba306e;
$custom-light: #d47597;
$custom-dark: #000000;
JSON
{
  "hex": "#ba306e",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 333.043,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.18105,
    "h": 358
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#BA306E
secondary
#7DC9A7
accent
#E29C46
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA306E

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

Preview Lab → · Contrast checker → · Palette generator →

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