#BA255F#BA255F

#BA255F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.187 H 3.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#BA255F
RGBrgb(186, 37, 95)
HSLhsl(337, 67%, 44%)
HSVhsv(337, 80%, 73%)
CMYKcmyk(0%, 80.1%, 48.9%, 27.1%)
CIE-LABlab(42.14, 60.87, 4.24)
CIE-LCHlch(42.14, 61.02, 3.98°)
OKLaboklab(52.56% 0.1866 0.0114)
OKLCHoklch(52.56% 0.187 3.5)
XYZxyz(22.9788, 12.5917, 12.0447)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA255F #25BA80
analogous
#BA25A9 #BA255F #BA3525
triadic
#BA255F #5FBA25 #255FBA
tetradic
#BA255F #A9BA25 #25BA80 #3525BA
square
#BA255F #A9BA25 #25BA80 #3525BA
split-complementary
#BA255F #25BA35 #25A9BA
monochromatic
#54112B #871B45 #BA255F #DA437D #E476A1

Accessibility & contrast

On white

5.97
#BA255F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA255F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA255F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA255F#FFFFFF#000000##FFFFFF
##BA255F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#736E5C
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba255f;
/* rgb */ color: rgb(186, 37, 95);
/* oklch */ color: oklch(52.6% 0.187 3.5);
Tailwind
colors: {
  custom: {
    50: '#d5708c',
    500: '#ba255f',
    950: '#000000',
  },
}
SCSS
$custom: #ba255f;
$custom-light: #d5708c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba255f",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 336.644,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52562,
    "c": 0.18696,
    "h": 3.5
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#BA255F
secondary
#70CBA8
accent
#EAA73E
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #BA255F

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

Preview Lab → · Contrast checker → · Palette generator →

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