#B5234C#B5234C

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

Color values

HEX#B5234C
RGBrgb(181, 35, 76)
HSLhsl(343, 68%, 42%)
HSVhsv(343, 81%, 71%)
CMYKcmyk(0%, 80.7%, 58%, 29%)
CIE-LABlab(40.49, 58.59, 13.77)
CIE-LCHlch(40.49, 60.19, 13.22°)
OKLaboklab(51.02% 0.1774 0.0344)
OKLCHoklch(51.02% 0.181 11)
XYZxyz(20.9637, 11.5507, 7.9617)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5234C #23B58C
analogous
#B52395 #B5234C #B54323
triadic
#B5234C #4CB523 #234CB5
tetradic
#B5234C #95B523 #23B58C #4323B5
square
#B5234C #95B523 #23B58C #4323B5
split-complementary
#B5234C #23B543 #2395B5
monochromatic
#4E0F21 #821936 #B5234C #D93C68 #E36F90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5234C#FFFFFF#000000##FFFFFF
##B5234C1.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)
#4D4D4D
Deuteranopia (green-blind)
#726A48
Tritanopia (blue-blind)
#C60035
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b5234c;
/* rgb */ color: rgb(181, 35, 76);
/* oklch */ color: oklch(51.0% 0.181 11.0);
Tailwind
colors: {
  custom: {
    50: '#d26e7d',
    500: '#b5234c',
    950: '#000000',
  },
}
SCSS
$custom: #b5234c;
$custom-light: #d26e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5234c",
  "rgb": {
    "r": 181,
    "g": 35,
    "b": 76
  },
  "hsl": {
    "h": 343.151,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51018,
    "c": 0.1807,
    "h": 11
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#B5234C
secondary
#6ACAAF
accent
#EABA3D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B5234C

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

Preview Lab → · Contrast checker → · Palette generator →

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