#B4245A#B4245A

#B4245A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.182 H 4.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B4245A
RGBrgb(180, 36, 90)
HSLhsl(338, 67%, 42%)
HSVhsv(338, 80%, 71%)
CMYKcmyk(0%, 80%, 50%, 29.4%)
CIE-LABlab(40.75, 59.11, 5.23)
CIE-LCHlch(40.75, 59.35, 5.06°)
OKLaboklab(51.28% 0.181 0.0139)
OKLCHoklch(51.28% 0.182 4.4)
XYZxyz(21.3006, 11.7062, 10.8088)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4245A #24B47E
analogous
#B424A2 #B4245A #B43624
triadic
#B4245A #5AB424 #245AB4
tetradic
#B4245A #A2B424 #24B47E #3624B4
square
#B4245A #A2B424 #24B47E #3624B4
split-complementary
#B4245A #24B436 #24A2B4
monochromatic
#4E1027 #811A41 #B4245A #D83D77 #E2709B

Accessibility & contrast

On white

6.29
#B4245A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B4245A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4245A
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4245A#FFFFFF#000000##FFFFFF
##B4245A1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5B
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4245a;
/* rgb */ color: rgb(180, 36, 90);
/* oklch */ color: oklch(51.3% 0.182 4.4);
Tailwind
colors: {
  custom: {
    50: '#d16e88',
    500: '#b4245a',
    950: '#000000',
  },
}
SCSS
$custom: #b4245a;
$custom-light: #d16e88;
$custom-dark: #000000;
JSON
{
  "hex": "#b4245a",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 337.5,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51283,
    "c": 0.18156,
    "h": 4.4
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#B4245A
secondary
#6BC9A6
accent
#EAA93E
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B4245A

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

Preview Lab → · Contrast checker → · Palette generator →

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