#BA2852#BA2852

#BA2852 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.182 H 9.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BA2852
RGBrgb(186, 40, 82)
HSLhsl(343, 65%, 44%)
HSVhsv(343, 78%, 73%)
CMYKcmyk(0%, 78.5%, 55.9%, 27.1%)
CIE-LABlab(42.11, 59.00, 12.36)
CIE-LCHlch(42.11, 60.28, 11.83°)
OKLaboklab(52.43% 0.179 0.0312)
OKLCHoklch(52.43% 0.182 9.9)
XYZxyz(22.5337, 12.5692, 9.2206)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2852 #28BA90
analogous
#BA289B #BA2852 #BA4728
triadic
#BA2852 #52BA28 #2852BA
tetradic
#BA2852 #9BBA28 #28BA90 #4728BA
square
#BA2852 #9BBA28 #28BA90 #4728BA
split-complementary
#BA2852 #28BA47 #289BBA
monochromatic
#551226 #881D3C #BA2852 #D84871 #E27A98

Accessibility & contrast

On white

5.98
#BA2852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#BA2852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2852
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2852#FFFFFF#000000##FFFFFF
##BA28521.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505153
Deuteranopia (green-blind)
#756E4E
Tritanopia (blue-blind)
#CB003A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2852;
/* rgb */ color: rgb(186, 40, 82);
/* oklch */ color: oklch(52.4% 0.182 9.9);
Tailwind
colors: {
  custom: {
    50: '#d67182',
    500: '#ba2852',
    950: '#000000',
  },
}
SCSS
$custom: #ba2852;
$custom-light: #d67182;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2852",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 342.74,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52427,
    "c": 0.18174,
    "h": 9.9
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#BA2852
secondary
#73CAB1
accent
#E8B740
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2852

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

Preview Lab → · Contrast checker → · Palette generator →

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