#B837A0#B837A0

#B837A0 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.3% C 0.199 H 336.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B837A0
RGBrgb(184, 55, 160)
HSLhsl(311, 54%, 47%)
HSVhsv(311, 70%, 72%)
CMYKcmyk(0%, 70.1%, 13%, 27.8%)
CIE-LABlab(46.26, 62.24, -29.38)
CIE-LCHlch(46.26, 68.83, 334.73°)
OKLaboklab(56.3% 0.1826 -0.08)
OKLCHoklch(56.3% 0.199 336.3)
XYZxyz(27.4789, 15.4632, 34.7884)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837A0 #37B84F
analogous
#9037B8 #B837A0 #B83760
triadic
#B837A0 #A0B837 #37A0B8
tetradic
#B837A0 #B89037 #37B84F #3760B8
square
#B837A0 #B89037 #37B84F #3760B8
split-complementary
#B837A0 #60B837 #37B890
monochromatic
#5A1B4E #892977 #B837A0 #CF5DBA #DD8DCE

Accessibility & contrast

On white

5.13
#B837A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B837A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837A0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837A0#FFFFFF#000000##FFFFFF
##B837A01.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3961A3
Deuteranopia (green-blind)
#65759D
Tritanopia (blue-blind)
#C13F67
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b837a0;
/* rgb */ color: rgb(184, 55, 160);
/* oklch */ color: oklch(56.3% 0.199 336.3);
Tailwind
colors: {
  custom: {
    50: '#d179bc',
    500: '#b837a0',
    950: '#000000',
  },
}
SCSS
$custom: #b837a0;
$custom-light: #d179bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b837a0",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 311.163,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56301,
    "c": 0.19931,
    "h": 336.3
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#B837A0
secondary
#84C790
accent
#DD664A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B837A0

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

Preview Lab → · Contrast checker → · Palette generator →

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