#B5234B#B5234B

#B5234B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.181 H 11.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B5234B
RGBrgb(181, 35, 75)
HSLhsl(344, 68%, 42%)
HSVhsv(344, 81%, 71%)
CMYKcmyk(0%, 80.7%, 58.6%, 29%)
CIE-LABlab(40.47, 58.52, 14.37)
CIE-LCHlch(40.47, 60.26, 13.80°)
OKLaboklab(51% 0.177 0.0358)
OKLCHoklch(51% 0.181 11.4)
XYZxyz(20.9292, 11.5369, 7.7801)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5234B #23B58D
analogous
#B52394 #B5234B #B54423
triadic
#B5234B #4BB523 #234BB5
tetradic
#B5234B #94B523 #23B58D #4423B5
square
#B5234B #94B523 #23B58D #4423B5
split-complementary
#B5234B #23B544 #2394B5
monochromatic
#4E0F20 #821936 #B5234B #D93C67 #E36F8F

Accessibility & contrast

On white

6.35
#B5234B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B5234B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5234B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5234B#FFFFFF#000000##FFFFFF
##B5234B1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C4C
Deuteranopia (green-blind)
#726A47
Tritanopia (blue-blind)
#C60035
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b5234b;
/* rgb */ color: rgb(181, 35, 75);
/* oklch */ color: oklch(51.0% 0.181 11.4);
Tailwind
colors: {
  custom: {
    50: '#d26e7c',
    500: '#b5234b',
    950: '#000000',
  },
}
SCSS
$custom: #b5234b;
$custom-light: #d26e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5234b",
  "rgb": {
    "r": 181,
    "g": 35,
    "b": 75
  },
  "hsl": {
    "h": 343.562,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50995,
    "c": 0.18059,
    "h": 11.4
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

primary
#B5234B
secondary
#6ACAB0
accent
#EABB3D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B5234B

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

Preview Lab → · Contrast checker → · Palette generator →

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