#B5274C#B5274C

#B5274C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.177 H 11.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B5274C
RGBrgb(181, 39, 76)
HSLhsl(344, 65%, 43%)
HSVhsv(344, 78%, 71%)
CMYKcmyk(0%, 78.5%, 58%, 29%)
CIE-LABlab(40.90, 57.45, 14.32)
CIE-LCHlch(40.90, 59.21, 13.99°)
OKLaboklab(51.32% 0.1737 0.0357)
OKLCHoklch(51.32% 0.177 11.6)
XYZxyz(21.0882, 11.7997, 8.0032)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5274C #27B590
analogous
#B52793 #B5274C #B54927
triadic
#B5274C #4CB527 #274CB5
tetradic
#B5274C #93B527 #27B590 #4927B5
square
#B5274C #93B527 #27B590 #4927B5
split-complementary
#B5274C #27B549 #2793B5
monochromatic
#501122 #831C37 #B5274C #D64369 #E17591

Accessibility & contrast

On white

6.25
#B5274C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B5274C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5274C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5274C#FFFFFF#000000##FFFFFF
##B5274C1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4D
Deuteranopia (green-blind)
#736B48
Tritanopia (blue-blind)
#C60037
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b5274c;
/* rgb */ color: rgb(181, 39, 76);
/* oklch */ color: oklch(51.3% 0.177 11.6);
Tailwind
colors: {
  custom: {
    50: '#d26f7d',
    500: '#b5274c',
    950: '#000000',
  },
}
SCSS
$custom: #b5274c;
$custom-light: #d26f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5274c",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 344.366,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51316,
    "c": 0.17735,
    "h": 11.6
  },
  "luminance": 0.11797
}

Semantic roles & 50–950 ramp

primary
#B5274C
secondary
#6FC9B1
accent
#E8BC40
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B5274C

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

Preview Lab → · Contrast checker → · Palette generator →

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