#B05797#B05797

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

Color values

HEX#B05797
RGBrgb(176, 87, 151)
HSLhsl(317, 36%, 52%)
HSVhsv(317, 51%, 69%)
CMYKcmyk(0%, 50.6%, 14.2%, 31%)
CIE-LABlab(49.84, 44.49, -18.60)
CIE-LCHlch(49.84, 48.22, 337.31°)
OKLaboklab(58.56% 0.1306 -0.0499)
OKLCHoklch(58.56% 0.14 339.1)
XYZxyz(26.8989, 18.2828, 31.3843)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05797 #57B070
analogous
#9D57B0 #B05797 #B0576B
triadic
#B05797 #97B057 #5797B0
tetradic
#B05797 #B09D57 #57B070 #576BB0
square
#B05797 #B09D57 #57B070 #576BB0
split-complementary
#B05797 #6BB057 #57B09D
monochromatic
#602D51 #894175 #B05797 #C481B1 #D7AACB

Accessibility & contrast

On white

4.51
#B05797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B05797#FFFFFF#000000##000000
##B057971.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E99
Deuteranopia (green-blind)
#737C95
Tritanopia (blue-blind)
#B95970
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b05797;
/* rgb */ color: rgb(176, 87, 151);
/* oklch */ color: oklch(58.6% 0.140 339.1);
Tailwind
colors: {
  custom: {
    50: '#ca8ab5',
    500: '#b05797',
    950: '#000000',
  },
}
SCSS
$custom: #b05797;
$custom-light: #ca8ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#b05797",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 316.854,
    "s": 36.032,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5856,
    "c": 0.1398,
    "h": 339.1
  },
  "luminance": 0.18281
}

Semantic roles & 50–950 ramp

primary
#B05797
secondary
#9EC5A9
accent
#CC7B5C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #B05797

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

Preview Lab → · Contrast checker → · Palette generator →

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