#BA304C#BA304C

#BA304C is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.174 H 14.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA304C
RGBrgb(186, 48, 76)
HSLhsl(348, 59%, 46%)
HSVhsv(348, 74%, 73%)
CMYKcmyk(0%, 74.2%, 59.1%, 27.1%)
CIE-LABlab(42.88, 56.03, 17.16)
CIE-LCHlch(42.88, 58.60, 17.03°)
OKLaboklab(52.96% 0.1685 0.0423)
OKLCHoklch(52.96% 0.174 14.1)
XYZxyz(22.6134, 13.0781, 8.1697)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA304C #30BA9E
analogous
#BA3091 #BA304C #BA5930
triadic
#BA304C #4CBA30 #304CBA
tetradic
#BA304C #91BA30 #30BA9E #5930BA
square
#BA304C #91BA30 #30BA9E #5930BA
split-complementary
#BA304C #30BA59 #3091BA
monochromatic
#591724 #892338 #BA304C #D3546E #DF8597

Accessibility & contrast

On white

5.81
#BA304C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA304C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA304C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA304C#FFFFFF#000000##FFFFFF
##BA304C1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534C
Deuteranopia (green-blind)
#787048
Tritanopia (blue-blind)
#CC003C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba304c;
/* rgb */ color: rgb(186, 48, 76);
/* oklch */ color: oklch(53.0% 0.174 14.1);
Tailwind
colors: {
  custom: {
    50: '#d6747d',
    500: '#ba304c',
    950: '#000000',
  },
}
SCSS
$custom: #ba304c;
$custom-light: #d6747d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba304c",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 347.826,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52957,
    "c": 0.17374,
    "h": 14.1
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#BA304C
secondary
#7DC9B9
accent
#E2C246
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA304C

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

Preview Lab → · Contrast checker → · Palette generator →

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