#B5274E#B5274E

#B5274E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.178 H 10.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B5274E
RGBrgb(181, 39, 78)
HSLhsl(344, 65%, 43%)
HSVhsv(344, 78%, 71%)
CMYKcmyk(0%, 78.5%, 56.9%, 29%)
CIE-LABlab(40.94, 57.59, 13.12)
CIE-LCHlch(40.94, 59.07, 12.83°)
OKLaboklab(51.36% 0.1745 0.0329)
OKLCHoklch(51.36% 0.178 10.7)
XYZxyz(21.1588, 11.8279, 8.3751)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5274E #27B58E
analogous
#B52795 #B5274E #B54727
triadic
#B5274E #4EB527 #274EB5
tetradic
#B5274E #95B527 #27B58E #4727B5
square
#B5274E #95B527 #27B58E #4727B5
split-complementary
#B5274E #27B547 #2795B5
monochromatic
#501123 #831C38 #B5274E #D6436B #E17593

Accessibility & contrast

On white

6.24
#B5274E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B5274E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5274E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5274E#FFFFFF#000000##FFFFFF
##B5274E1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4F
Deuteranopia (green-blind)
#726B4A
Tritanopia (blue-blind)
#C60038
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b5274e;
/* rgb */ color: rgb(181, 39, 78);
/* oklch */ color: oklch(51.4% 0.178 10.7);
Tailwind
colors: {
  custom: {
    50: '#d26f7f',
    500: '#b5274e',
    950: '#000000',
  },
}
SCSS
$custom: #b5274e;
$custom-light: #d26f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5274e",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 343.521,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.17758,
    "h": 10.7
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#B5274E
secondary
#6FC9B0
accent
#E8BA40
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B5274E

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

Preview Lab → · Contrast checker → · Palette generator →

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