#BA235A#BA235A

#BA235A is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.187 H 5.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BA235A
RGBrgb(186, 35, 90)
HSLhsl(338, 68%, 43%)
HSVhsv(338, 81%, 73%)
CMYKcmyk(0%, 81.2%, 51.6%, 27.1%)
CIE-LABlab(41.82, 60.99, 6.92)
CIE-LCHlch(41.82, 61.39, 6.47°)
OKLaboklab(52.28% 0.1865 0.0181)
OKLCHoklch(52.28% 0.187 5.5)
XYZxyz(22.6983, 12.3826, 10.8657)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA235A #23BA83
analogous
#BA23A5 #BA235A #BA3823
triadic
#BA235A #5ABA23 #235ABA
tetradic
#BA235A #A5BA23 #23BA83 #3823BA
square
#BA235A #A5BA23 #23BA83 #3823BA
split-complementary
#BA235A #23BA38 #23A5BA
monochromatic
#531028 #861941 #BA235A #DB3F78 #E5739C

Accessibility & contrast

On white

6.04
#BA235A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#BA235A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA235A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA235A#FFFFFF#000000##FFFFFF
##BA235A1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505B
Deuteranopia (green-blind)
#736D56
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba235a;
/* rgb */ color: rgb(186, 35, 90);
/* oklch */ color: oklch(52.3% 0.187 5.5);
Tailwind
colors: {
  custom: {
    50: '#d56f88',
    500: '#ba235a',
    950: '#000000',
  },
}
SCSS
$custom: #ba235a;
$custom-light: #d56f88;
$custom-dark: #000000;
JSON
{
  "hex": "#ba235a",
  "rgb": {
    "r": 186,
    "g": 35,
    "b": 90
  },
  "hsl": {
    "h": 338.146,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.18742,
    "h": 5.5
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#BA235A
secondary
#6DCCA9
accent
#EBAC3D
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#15080B
muted
#847B7C

Preview Lab

Preview with #BA235A

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

Preview Lab → · Contrast checker → · Palette generator →

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