#BA245D#BA245D

#BA245D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.187 H 4.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BA245D
RGBrgb(186, 36, 93)
HSLhsl(337, 68%, 44%)
HSVhsv(337, 81%, 73%)
CMYKcmyk(0%, 80.6%, 50%, 27.1%)
CIE-LABlab(41.99, 60.97, 5.28)
CIE-LCHlch(41.99, 61.20, 4.95°)
OKLaboklab(52.43% 0.1868 0.014)
OKLCHoklch(52.43% 0.187 4.3)
XYZxyz(22.8584, 12.4944, 11.5618)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA245D #24BA81
analogous
#BA24A8 #BA245D #BA3624
triadic
#BA245D #5DBA24 #245DBA
tetradic
#BA245D #A8BA24 #24BA81 #3624BA
square
#BA245D #A8BA24 #24BA81 #3624BA
split-complementary
#BA245D #24BA36 #24A8BA
monochromatic
#53102A #871A43 #BA245D #DA417B #E4749F

Accessibility & contrast

On white

6.00
#BA245D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#BA245D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA245D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA245D#FFFFFF#000000##FFFFFF
##BA245D1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505E
Deuteranopia (green-blind)
#736E59
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba245d;
/* rgb */ color: rgb(186, 36, 93);
/* oklch */ color: oklch(52.4% 0.187 4.3);
Tailwind
colors: {
  custom: {
    50: '#d56f8a',
    500: '#ba245d',
    950: '#000000',
  },
}
SCSS
$custom: #ba245d;
$custom-light: #d56f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba245d",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 337.2,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.1873,
    "h": 4.3
  },
  "luminance": 0.12491
}

Semantic roles & 50–950 ramp

primary
#BA245D
secondary
#6ECBA8
accent
#EAA93D
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #BA245D

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

Preview Lab → · Contrast checker → · Palette generator →

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