#B167A2#B167A2

#B167A2 is a mid, vivid pink. Relative luminance 0.217; OKLCH L 61.6% C 0.122 H 334.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B167A2
RGBrgb(177, 103, 162)
HSLhsl(312, 32%, 55%)
HSVhsv(312, 42%, 69%)
CMYKcmyk(0%, 41.8%, 8.5%, 30.6%)
CIE-LABlab(53.66, 38.27, -19.21)
CIE-LCHlch(53.66, 42.82, 333.35°)
OKLaboklab(61.59% 0.1101 -0.0517)
OKLCHoklch(61.59% 0.122 334.8)
XYZxyz(29.5032, 21.6579, 36.8018)
Luminance0.2166 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167A2 #67B176
analogous
#9B67B1 #B167A2 #B1677D
triadic
#B167A2 #A2B167 #67A2B1
tetradic
#B167A2 #B19B67 #67B176 #677DB1
square
#B167A2 #B19B67 #67B176 #677DB1
split-complementary
#B167A2 #7DB167 #67B19B
monochromatic
#68355E #914A82 #B167A2 #C68FBB #DBB8D3

Accessibility & contrast

On white

3.94
#B167A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B167A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167A2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167A2#FFFFFF#000000##000000
##B167A21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6779A4
Deuteranopia (green-blind)
#7A84A0
Tritanopia (blue-blind)
#B86A7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b167a2;
/* rgb */ color: rgb(177, 103, 162);
/* oklch */ color: oklch(61.6% 0.122 334.8);
Tailwind
colors: {
  custom: {
    50: '#ca94bd',
    500: '#b167a2',
    950: '#000000',
  },
}
SCSS
$custom: #b167a2;
$custom-light: #ca94bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b167a2",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 162
  },
  "hsl": {
    "h": 312.162,
    "s": 32.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6159,
    "c": 0.12165,
    "h": 334.8
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

primary
#B167A2
secondary
#AAC9B1
accent
#C8755F
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130D12
muted
#827E81

Preview Lab

Preview with #B167A2

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

Preview Lab → · Contrast checker → · Palette generator →

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