#B94EA7#B94EA7

#B94EA7 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.3% C 0.174 H 334.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B94EA7
RGBrgb(185, 78, 167)
HSLhsl(310, 43%, 52%)
HSVhsv(310, 58%, 73%)
CMYKcmyk(0%, 57.8%, 9.7%, 27.5%)
CIE-LABlab(50.16, 54.14, -27.44)
CIE-LCHlch(50.16, 60.69, 333.12°)
OKLaboklab(59.28% 0.1567 -0.0746)
OKLCHoklch(59.28% 0.174 334.5)
XYZxyz(29.7072, 18.5553, 38.5686)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94EA7 #4EB960
analogous
#964EB9 #B94EA7 #B94E72
triadic
#B94EA7 #A7B94E #4EA7B9
tetradic
#B94EA7 #B9964E #4EB960 #4E72B9
square
#B94EA7 #B9964E #4EB960 #4E72B9
split-complementary
#B94EA7 #72B94E #4EB996
monochromatic
#65285B #913982 #B94EA7 #CA7ABD #DCA6D3

Accessibility & contrast

On white

4.46
#B94EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B94EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94EA7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94EA7#FFFFFF#000000##000000
##B94EA71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6DAA
Deuteranopia (green-blind)
#6E7DA4
Tritanopia (blue-blind)
#C15573
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b94ea7;
/* rgb */ color: rgb(185, 78, 167);
/* oklch */ color: oklch(59.3% 0.174 334.5);
Tailwind
colors: {
  custom: {
    50: '#d185c1',
    500: '#b94ea7',
    950: '#000000',
  },
}
SCSS
$custom: #b94ea7;
$custom-light: #d185c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b94ea7",
  "rgb": {
    "r": 185,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 310.093,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59282,
    "c": 0.17359,
    "h": 334.5
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#B94EA7
secondary
#9AC9A2
accent
#D36A55
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B94EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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