#BA275F#BA275F

#BA275F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.185 H 3.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA275F
RGBrgb(186, 39, 95)
HSLhsl(337, 65%, 44%)
HSVhsv(337, 79%, 73%)
CMYKcmyk(0%, 79%, 48.9%, 27.1%)
CIE-LABlab(42.34, 60.32, 4.52)
CIE-LCHlch(42.34, 60.48, 4.28°)
OKLaboklab(52.71% 0.1848 0.0122)
OKLCHoklch(52.71% 0.185 3.8)
XYZxyz(23.0428, 12.7196, 12.0660)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA275F #27BA82
analogous
#BA27A9 #BA275F #BA3927
triadic
#BA275F #5FBA27 #275FBA
tetradic
#BA275F #A9BA27 #27BA82 #3927BA
square
#BA275F #A9BA27 #27BA82 #3927BA
split-complementary
#BA275F #27BA39 #27A9BA
monochromatic
#55122B #871C45 #BA275F #D8467E #E379A1

Accessibility & contrast

On white

5.93
#BA275F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA275F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA275F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA275F#FFFFFF#000000##FFFFFF
##BA275F1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5260
Deuteranopia (green-blind)
#736E5C
Tritanopia (blue-blind)
#CB0040
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba275f;
/* rgb */ color: rgb(186, 39, 95);
/* oklch */ color: oklch(52.7% 0.185 3.8);
Tailwind
colors: {
  custom: {
    50: '#d5718c',
    500: '#ba275f',
    950: '#000000',
  },
}
SCSS
$custom: #ba275f;
$custom-light: #d5718c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba275f",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 337.143,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52706,
    "c": 0.18521,
    "h": 3.8
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#BA275F
secondary
#72CBA9
accent
#E8A840
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA275F

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

Preview Lab → · Contrast checker → · Palette generator →

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