#B837A2#B837A2

#B837A2 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.4% C 0.201 H 335.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B837A2
RGBrgb(184, 55, 162)
HSLhsl(310, 54%, 47%)
HSVhsv(310, 70%, 72%)
CMYKcmyk(0%, 70.1%, 12%, 27.8%)
CIE-LABlab(46.36, 62.54, -30.42)
CIE-LCHlch(46.36, 69.55, 334.06°)
OKLaboklab(56.4% 0.1828 -0.0829)
OKLCHoklch(56.4% 0.201 335.6)
XYZxyz(27.6553, 15.5338, 35.7172)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837A2 #37B84D
analogous
#8E37B8 #B837A2 #B83761
triadic
#B837A2 #A2B837 #37A2B8
tetradic
#B837A2 #B88E37 #37B84D #3761B8
square
#B837A2 #B88E37 #37B84D #3761B8
split-complementary
#B837A2 #61B837 #37B88E
monochromatic
#5A1B4F #892979 #B837A2 #CF5DBB #DD8DCF

Accessibility & contrast

On white

5.11
#B837A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B837A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837A2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837A2#FFFFFF#000000##FFFFFF
##B837A21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A5
Deuteranopia (green-blind)
#64759F
Tritanopia (blue-blind)
#C14068
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b837a2;
/* rgb */ color: rgb(184, 55, 162);
/* oklch */ color: oklch(56.4% 0.201 335.6);
Tailwind
colors: {
  custom: {
    50: '#d179be',
    500: '#b837a2',
    950: '#000000',
  },
}
SCSS
$custom: #b837a2;
$custom-light: #d179be;
$custom-dark: #000000;
JSON
{
  "hex": "#b837a2",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 310.233,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.564,
    "c": 0.20073,
    "h": 335.6
  },
  "luminance": 0.15531
}

Semantic roles & 50–950 ramp

primary
#B837A2
secondary
#84C78F
accent
#DD644A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B837A2

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

Preview Lab → · Contrast checker → · Palette generator →

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