#B950A7#B950A7

#B950A7 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.171 H 334.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B950A7
RGBrgb(185, 80, 167)
HSLhsl(310, 43%, 52%)
HSVhsv(310, 57%, 73%)
CMYKcmyk(0%, 56.8%, 9.7%, 27.5%)
CIE-LABlab(50.50, 53.21, -26.91)
CIE-LCHlch(50.50, 59.63, 333.18°)
OKLaboklab(59.53% 0.1541 -0.0731)
OKLCHoklch(59.53% 0.171 334.6)
XYZxyz(29.8514, 18.8438, 38.6167)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950A7 #50B962
analogous
#9750B9 #B950A7 #B95073
triadic
#B950A7 #A7B950 #50A7B9
tetradic
#B950A7 #B99750 #50B962 #5073B9
square
#B950A7 #B99750 #50B962 #5073B9
split-complementary
#B950A7 #73B950 #50B997
monochromatic
#66295B #923A83 #B950A7 #CA7CBD #DCA7D3

Accessibility & contrast

On white

4.40
#B950A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B950A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950A7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950A7#FFFFFF#000000##000000
##B950A71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAA
Deuteranopia (green-blind)
#6F7EA4
Tritanopia (blue-blind)
#C15674
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b950a7;
/* rgb */ color: rgb(185, 80, 167);
/* oklch */ color: oklch(59.5% 0.171 334.6);
Tailwind
colors: {
  custom: {
    50: '#d186c1',
    500: '#b950a7',
    950: '#000000',
  },
}
SCSS
$custom: #b950a7;
$custom-light: #d186c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b950a7",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 167
  },
  "hsl": {
    "h": 310.286,
    "s": 42.857,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59533,
    "c": 0.17052,
    "h": 334.6
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#B950A7
secondary
#9BC9A3
accent
#D36B55
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B950A7

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

Preview Lab → · Contrast checker → · Palette generator →

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