#BA2452#BA2452

#BA2452 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.185 H 9.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#BA2452
RGBrgb(186, 36, 82)
HSLhsl(342, 68%, 44%)
HSVhsv(342, 81%, 73%)
CMYKcmyk(0%, 80.6%, 55.9%, 27.1%)
CIE-LABlab(41.71, 60.12, 11.81)
CIE-LCHlch(41.71, 61.27, 11.11°)
OKLaboklab(52.14% 0.1827 0.0299)
OKLCHoklch(52.14% 0.185 9.3)
XYZxyz(22.4058, 12.3133, 9.1779)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2452 #24BA8C
analogous
#BA249D #BA2452 #BA4124
triadic
#BA2452 #52BA24 #2452BA
tetradic
#BA2452 #9DBA24 #24BA8C #4124BA
square
#BA2452 #9DBA24 #24BA8C #4124BA
split-complementary
#BA2452 #24BA41 #249DBA
monochromatic
#531025 #871A3B #BA2452 #DA4170 #E47497

Accessibility & contrast

On white

6.07
#BA2452 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#BA2452 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2452
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2452#FFFFFF#000000##FFFFFF
##BA24521.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F53
Deuteranopia (green-blind)
#756D4E
Tritanopia (blue-blind)
#CB0038
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2452;
/* rgb */ color: rgb(186, 36, 82);
/* oklch */ color: oklch(52.1% 0.185 9.3);
Tailwind
colors: {
  custom: {
    50: '#d66f82',
    500: '#ba2452',
    950: '#000000',
  },
}
SCSS
$custom: #ba2452;
$custom-light: #d66f82;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2452",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 341.6,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.1851,
    "h": 9.3
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#BA2452
secondary
#6ECBAF
accent
#EAB53D
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA2452

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

Preview Lab → · Contrast checker → · Palette generator →

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