#B5274B#B5274B

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

Color values

HEX#B5274B
RGBrgb(181, 39, 75)
HSLhsl(345, 65%, 43%)
HSVhsv(345, 78%, 71%)
CMYKcmyk(0%, 78.5%, 58.6%, 29%)
CIE-LABlab(40.87, 57.38, 14.92)
CIE-LCHlch(40.87, 59.29, 14.57°)
OKLaboklab(51.29% 0.1733 0.0371)
OKLCHoklch(51.29% 0.177 12.1)
XYZxyz(21.0537, 11.7859, 7.8215)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5274B #27B591
analogous
#B52792 #B5274B #B54A27
triadic
#B5274B #4BB527 #274BB5
tetradic
#B5274B #92B527 #27B591 #4A27B5
square
#B5274B #92B527 #27B591 #4A27B5
split-complementary
#B5274B #27B54A #2792B5
monochromatic
#501121 #831C36 #B5274B #D64368 #E17591

Accessibility & contrast

On white

6.26
#B5274B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5274B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5274B#FFFFFF#000000##FFFFFF
##B5274B1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5274b;
/* rgb */ color: rgb(181, 39, 75);
/* oklch */ color: oklch(51.3% 0.177 12.1);
Tailwind
colors: {
  custom: {
    50: '#d26f7d',
    500: '#b5274b',
    950: '#000000',
  },
}
SCSS
$custom: #b5274b;
$custom-light: #d26f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5274b",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 344.789,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.17725,
    "h": 12.1
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#B5274B
secondary
#6FC9B2
accent
#E8BD40
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B5274B

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

Preview Lab → · Contrast checker → · Palette generator →

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