#B5275C#B5275C

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

Color values

HEX#B5275C
RGBrgb(181, 39, 92)
HSLhsl(338, 65%, 43%)
HSVhsv(338, 78%, 71%)
CMYKcmyk(0%, 78.5%, 49.2%, 29%)
CIE-LABlab(41.30, 58.70, 4.78)
CIE-LCHlch(41.30, 58.89, 4.66°)
OKLaboklab(51.74% 0.1798 0.0128)
OKLCHoklch(51.74% 0.18 4.1)
XYZxyz(21.7152, 12.0505, 11.3056)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5275C #27B580
analogous
#B527A3 #B5275C #B53927
triadic
#B5275C #5CB527 #275CB5
tetradic
#B5275C #A3B527 #27B580 #3927B5
square
#B5275C #A3B527 #27B580 #3927B5
split-complementary
#B5275C #27B539 #27A3B5
monochromatic
#501129 #831C42 #B5275C #D6437A #E1759D

Accessibility & contrast

On white

6.16
#B5275C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5275C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5275C#FFFFFF#000000##FFFFFF
##B5275C1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5275c;
/* rgb */ color: rgb(181, 39, 92);
/* oklch */ color: oklch(51.7% 0.180 4.1);
Tailwind
colors: {
  custom: {
    50: '#d17089',
    500: '#b5275c',
    950: '#000000',
  },
}
SCSS
$custom: #b5275c;
$custom-light: #d17089;
$custom-dark: #000000;
JSON
{
  "hex": "#b5275c",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 92
  },
  "hsl": {
    "h": 337.606,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51741,
    "c": 0.18023,
    "h": 4.1
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#B5275C
secondary
#6FC9A7
accent
#E8A940
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B5275C

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

Preview Lab → · Contrast checker → · Palette generator →

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