#B160A2#B160A2

#B160A2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.5% C 0.134 H 334.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B160A2
RGBrgb(177, 96, 162)
HSLhsl(311, 34%, 54%)
HSVhsv(311, 46%, 69%)
CMYKcmyk(0%, 45.8%, 8.5%, 30.6%)
CIE-LABlab(52.20, 42.00, -21.45)
CIE-LCHlch(52.20, 47.16, 332.95°)
OKLaboklab(60.5% 0.1209 -0.058)
OKLCHoklch(60.5% 0.134 334.4)
XYZxyz(28.8359, 20.3232, 36.5794)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B160A2 #60B16F
analogous
#9760B1 #B160A2 #B16079
triadic
#B160A2 #A2B160 #60A2B1
tetradic
#B160A2 #B19760 #60B16F #6079B1
square
#B160A2 #B19760 #60B16F #6079B1
split-complementary
#B160A2 #79B160 #60B197
monochromatic
#65325C #8E4681 #B160A2 #C589BA #D9B2D2

Accessibility & contrast

On white

4.15
#B160A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B160A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B160A2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B160A2#FFFFFF#000000##000000
##B160A21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#7681A0
Tritanopia (blue-blind)
#B86479
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b160a2;
/* rgb */ color: rgb(177, 96, 162);
/* oklch */ color: oklch(60.5% 0.134 334.4);
Tailwind
colors: {
  custom: {
    50: '#ca8fbd',
    500: '#b160a2',
    950: '#000000',
  },
}
SCSS
$custom: #b160a2;
$custom-light: #ca8fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b160a2",
  "rgb": {
    "r": 177,
    "g": 96,
    "b": 162
  },
  "hsl": {
    "h": 311.111,
    "s": 34.177,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60495,
    "c": 0.13403,
    "h": 334.4
  },
  "luminance": 0.20321
}

Semantic roles & 50–950 ramp

primary
#B160A2
secondary
#A5C8AB
accent
#CA725E
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130D12
muted
#827D81

Preview Lab

Preview with #B160A2

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

Preview Lab → · Contrast checker → · Palette generator →

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