#B5275B#B5275B

#B5275B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.180 H 4.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B5275B
RGBrgb(181, 39, 91)
HSLhsl(338, 65%, 43%)
HSVhsv(338, 78%, 71%)
CMYKcmyk(0%, 78.5%, 49.7%, 29%)
CIE-LABlab(41.27, 58.61, 5.37)
CIE-LCHlch(41.27, 58.86, 5.24°)
OKLaboklab(51.71% 0.1794 0.0143)
OKLCHoklch(51.71% 0.18 4.5)
XYZxyz(21.6718, 12.0331, 11.0769)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5275B #27B581
analogous
#B527A2 #B5275B #B53A27
triadic
#B5275B #5BB527 #275BB5
tetradic
#B5275B #A2B527 #27B581 #3A27B5
square
#B5275B #A2B527 #27B581 #3A27B5
split-complementary
#B5275B #27B53A #27A2B5
monochromatic
#501128 #831C42 #B5275B #D64379 #E1759D

Accessibility & contrast

On white

6.17
#B5275B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B5275B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5275B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5275B#FFFFFF#000000##FFFFFF
##B5275B1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505C
Deuteranopia (green-blind)
#706B58
Tritanopia (blue-blind)
#C5003E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b5275b;
/* rgb */ color: rgb(181, 39, 91);
/* oklch */ color: oklch(51.7% 0.180 4.5);
Tailwind
colors: {
  custom: {
    50: '#d17089',
    500: '#b5275b',
    950: '#000000',
  },
}
SCSS
$custom: #b5275b;
$custom-light: #d17089;
$custom-dark: #000000;
JSON
{
  "hex": "#b5275b",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 91
  },
  "hsl": {
    "h": 338.028,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.17998,
    "h": 4.5
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

primary
#B5275B
secondary
#6FC9A8
accent
#E8AA40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B5275B

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

Preview Lab → · Contrast checker → · Palette generator →

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