#B05197#B05197

#B05197 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.7% C 0.150 H 338.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B05197
RGBrgb(176, 81, 151)
HSLhsl(316, 38%, 50%)
HSVhsv(316, 54%, 69%)
CMYKcmyk(0%, 54%, 14.2%, 31%)
CIE-LABlab(48.70, 47.49, -20.34)
CIE-LCHlch(48.70, 51.66, 336.81°)
OKLaboklab(57.71% 0.1394 -0.0547)
OKLCHoklch(57.71% 0.15 338.6)
XYZxyz(26.4332, 17.3513, 31.2291)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05197 #51B06A
analogous
#9951B0 #B05197 #B05168
triadic
#B05197 #97B051 #5197B0
tetradic
#B05197 #B09951 #51B06A #5168B0
square
#B05197 #B09951 #51B06A #5168B0
split-complementary
#B05197 #68B051 #51B099
monochromatic
#5D2A4F #873D73 #B05197 #C37BB0 #D6A5C9

Accessibility & contrast

On white

4.70
#B05197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B05197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B05197
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B05197#FFFFFF#000000##FFFFFF
##B051971.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#6F7994
Tritanopia (blue-blind)
#B9546D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b05197;
/* rgb */ color: rgb(176, 81, 151);
/* oklch */ color: oklch(57.7% 0.150 338.6);
Tailwind
colors: {
  custom: {
    50: '#ca86b5',
    500: '#b05197',
    950: '#000000',
  },
}
SCSS
$custom: #b05197;
$custom-light: #ca86b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b05197",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 315.789,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57714,
    "c": 0.1498,
    "h": 338.6
  },
  "luminance": 0.17349
}

Semantic roles & 50–950 ramp

primary
#B05197
secondary
#99C4A4
accent
#CE795A
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B05197

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

Preview Lab → · Contrast checker → · Palette generator →

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