#B5245F#B5245F

#B5245F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.184 H 2.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B5245F
RGBrgb(181, 36, 95)
HSLhsl(336, 67%, 43%)
HSVhsv(336, 80%, 71%)
CMYKcmyk(0%, 80.1%, 47.5%, 29%)
CIE-LABlab(41.08, 59.81, 2.58)
CIE-LCHlch(41.08, 59.87, 2.47°)
OKLaboklab(51.61% 0.1836 0.0073)
OKLCHoklch(51.61% 0.184 2.3)
XYZxyz(21.7543, 11.9147, 11.9785)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5245F #24B57A
analogous
#B524A8 #B5245F #B53124
triadic
#B5245F #5FB524 #245FB5
tetradic
#B5245F #A8B524 #24B57A #3124B5
square
#B5245F #A8B524 #24B57A #3124B5
split-complementary
#B5245F #24B531 #24A8B5
monochromatic
#4F1029 #821A44 #B5245F #D93E7D #E3719F

Accessibility & contrast

On white

6.21
#B5245F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B5245F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5245F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5245F#FFFFFF#000000##FFFFFF
##B5245F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#C5003F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b5245f;
/* rgb */ color: rgb(181, 36, 95);
/* oklch */ color: oklch(51.6% 0.184 2.3);
Tailwind
colors: {
  custom: {
    50: '#d16f8c',
    500: '#b5245f',
    950: '#000000',
  },
}
SCSS
$custom: #b5245f;
$custom-light: #d16f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5245f",
  "rgb": {
    "r": 181,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 335.586,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.18372,
    "h": 2.3
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#B5245F
secondary
#6BC9A3
accent
#EAA43E
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B5245F

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

Preview Lab → · Contrast checker → · Palette generator →

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