#B05798#B05798

#B05798 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 58.6% C 0.141 H 338.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B05798
RGBrgb(176, 87, 152)
HSLhsl(316, 36%, 52%)
HSVhsv(316, 51%, 69%)
CMYKcmyk(0%, 50.6%, 13.6%, 31%)
CIE-LABlab(49.88, 44.65, -19.13)
CIE-LCHlch(49.88, 48.58, 336.81°)
OKLaboklab(58.6% 0.1308 -0.0514)
OKLCHoklch(58.6% 0.141 338.6)
XYZxyz(26.9804, 18.3154, 31.8139)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05798 #57B06F
analogous
#9C57B0 #B05798 #B0576C
triadic
#B05798 #98B057 #5798B0
tetradic
#B05798 #B09C57 #57B06F #576CB0
square
#B05798 #B09C57 #57B06F #576CB0
split-complementary
#B05798 #6CB057 #57B09C
monochromatic
#602D52 #894176 #B05798 #C481B2 #D7AACB

Accessibility & contrast

On white

4.50
#B05798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B05798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B05798
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B05798#FFFFFF#000000##000000
##B057981.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E9A
Deuteranopia (green-blind)
#737C96
Tritanopia (blue-blind)
#B85970
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b05798;
/* rgb */ color: rgb(176, 87, 152);
/* oklch */ color: oklch(58.6% 0.141 338.6);
Tailwind
colors: {
  custom: {
    50: '#ca8ab6',
    500: '#b05798',
    950: '#000000',
  },
}
SCSS
$custom: #b05798;
$custom-light: #ca8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#b05798",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 316.18,
    "s": 36.032,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.14057,
    "h": 338.6
  },
  "luminance": 0.18313
}

Semantic roles & 50–950 ramp

primary
#B05798
secondary
#9EC5A8
accent
#CC7A5C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #B05798

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

Preview Lab → · Contrast checker → · Palette generator →

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