#BA2E5D#BA2E5D

#BA2E5D is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.178 H 5.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#BA2E5D
RGBrgb(186, 46, 93)
HSLhsl(340, 60%, 45%)
HSVhsv(340, 75%, 73%)
CMYKcmyk(0%, 75.3%, 50%, 27.1%)
CIE-LABlab(43.04, 58.00, 6.78)
CIE-LCHlch(43.04, 58.40, 6.66°)
OKLaboklab(53.21% 0.1772 0.0178)
OKLCHoklch(53.21% 0.178 5.7)
XYZxyz(23.2045, 13.1866, 11.6772)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E5D #2EBA8B
analogous
#BA2EA3 #BA2E5D #BA452E
triadic
#BA2E5D #5DBA2E #2E5DBA
tetradic
#BA2E5D #A3BA2E #2EBA8B #452EBA
square
#BA2E5D #A3BA2E #2EBA8B #452EBA
split-complementary
#BA2E5D #2EBA45 #2EA3BA
monochromatic
#58162C #892244 #BA2E5D #D4517D #E082A2

Accessibility & contrast

On white

5.77
#BA2E5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#BA2E5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E5D
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E5D#FFFFFF#000000##FFFFFF
##BA2E5D1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50545E
Deuteranopia (green-blind)
#75705A
Tritanopia (blue-blind)
#CB0A42
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2e5d;
/* rgb */ color: rgb(186, 46, 93);
/* oklch */ color: oklch(53.2% 0.178 5.7);
Tailwind
colors: {
  custom: {
    50: '#d5738a',
    500: '#ba2e5d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e5d;
$custom-light: #d5738a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e5d",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 339.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.17808,
    "h": 5.7
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#BA2E5D
secondary
#7BC9AF
accent
#E3AE44
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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