#B5295E#B5295E

#B5295E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.179 H 3.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B5295E
RGBrgb(181, 41, 94)
HSLhsl(337, 63%, 44%)
HSVhsv(337, 77%, 71%)
CMYKcmyk(0%, 77.3%, 48.1%, 29%)
CIE-LABlab(41.56, 58.27, 3.91)
CIE-LCHlch(41.56, 58.40, 3.84°)
OKLaboklab(51.96% 0.1785 0.0106)
OKLCHoklch(51.96% 0.179 3.4)
XYZxyz(21.8712, 12.2208, 11.7947)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5295E #29B580
analogous
#B529A4 #B5295E #B53A29
triadic
#B5295E #5EB529 #295EB5
tetradic
#B5295E #A4B529 #29B580 #3A29B5
square
#B5295E #A4B529 #29B580 #3A29B5
split-complementary
#B5295E #29B53A #29A4B5
monochromatic
#51122A #831E44 #B5295E #D5467C #E078A0

Accessibility & contrast

On white

6.10
#B5295E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B5295E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5295E
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5295E#FFFFFF#000000##FFFFFF
##B5295E1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B515F
Deuteranopia (green-blind)
#706C5B
Tritanopia (blue-blind)
#C50340
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5295e;
/* rgb */ color: rgb(181, 41, 94);
/* oklch */ color: oklch(52.0% 0.179 3.4);
Tailwind
colors: {
  custom: {
    50: '#d1718b',
    500: '#b5295e',
    950: '#000000',
  },
}
SCSS
$custom: #b5295e;
$custom-light: #d1718b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5295e",
  "rgb": {
    "r": 181,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 337.286,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.17886,
    "h": 3.4
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#B5295E
secondary
#72C8A7
accent
#E6A842
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B5295E

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

Preview Lab → · Contrast checker → · Palette generator →

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