#B954A5#B954A5

#B954A5 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.0% C 0.163 H 335.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B954A5
RGBrgb(185, 84, 165)
HSLhsl(312, 42%, 53%)
HSVhsv(312, 55%, 73%)
CMYKcmyk(0%, 54.6%, 10.8%, 27.5%)
CIE-LABlab(51.12, 51.00, -24.78)
CIE-LCHlch(51.12, 56.70, 334.09°)
OKLaboklab(59.96% 0.1482 -0.0671)
OKLCHoklch(59.96% 0.163 335.6)
XYZxyz(29.9696, 19.3737, 37.7510)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954A5 #54B968
analogous
#9A54B9 #B954A5 #B95472
triadic
#B954A5 #A5B954 #54A5B9
tetradic
#B954A5 #B99A54 #54B968 #5472B9
square
#B954A5 #B99A54 #54B968 #5472B9
split-complementary
#B954A5 #72B954 #54B99A
monochromatic
#682B5C #933C82 #B954A5 #CB7FBC #DDABD3

Accessibility & contrast

On white

4.31
#B954A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B954A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954A5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954A5#FFFFFF#000000##000000
##B954A51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5570A8
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#C15975
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b954a5;
/* rgb */ color: rgb(185, 84, 165);
/* oklch */ color: oklch(60.0% 0.163 335.6);
Tailwind
colors: {
  custom: {
    50: '#d089c0',
    500: '#b954a5',
    950: '#000000',
  },
}
SCSS
$custom: #b954a5;
$custom-light: #d089c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b954a5",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 165
  },
  "hsl": {
    "h": 311.881,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.16264,
    "h": 335.6
  },
  "luminance": 0.19372
}

Semantic roles & 50–950 ramp

primary
#B954A5
secondary
#9FCAA7
accent
#D26F56
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B954A5

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

Preview Lab → · Contrast checker → · Palette generator →

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