#BA275C#BA275C

#BA275C is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.184 H 5.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#BA275C
RGBrgb(186, 39, 92)
HSLhsl(338, 65%, 44%)
HSVhsv(338, 79%, 73%)
CMYKcmyk(0%, 79%, 50.5%, 27.1%)
CIE-LABlab(42.26, 60.06, 6.28)
CIE-LCHlch(42.26, 60.39, 5.97°)
OKLaboklab(52.62% 0.1837 0.0165)
OKLCHoklch(52.62% 0.184 5.1)
XYZxyz(22.9090, 12.6661, 11.3616)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA275C #27BA85
analogous
#BA27A6 #BA275C #BA3B27
triadic
#BA275C #5CBA27 #275CBA
tetradic
#BA275C #A6BA27 #27BA85 #3B27BA
square
#BA275C #A6BA27 #27BA85 #3B27BA
split-complementary
#BA275C #27BA3B #27A6BA
monochromatic
#55122A #871C43 #BA275C #D8467B #E3799F

Accessibility & contrast

On white

5.94
#BA275C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#BA275C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA275C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA275C#FFFFFF#000000##FFFFFF
##BA275C1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515D
Deuteranopia (green-blind)
#746E59
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba275c;
/* rgb */ color: rgb(186, 39, 92);
/* oklch */ color: oklch(52.6% 0.184 5.1);
Tailwind
colors: {
  custom: {
    50: '#d57089',
    500: '#ba275c',
    950: '#000000',
  },
}
SCSS
$custom: #ba275c;
$custom-light: #d57089;
$custom-dark: #000000;
JSON
{
  "hex": "#ba275c",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 92
  },
  "hsl": {
    "h": 338.367,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52619,
    "c": 0.18447,
    "h": 5.1
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#BA275C
secondary
#72CBAB
accent
#E8AB40
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA275C

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

Preview Lab → · Contrast checker → · Palette generator →

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