#B8438E#B8438E

#B8438E is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.7% C 0.171 H 344.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B8438E
RGBrgb(184, 67, 142)
HSLhsl(322, 47%, 49%)
HSVhsv(322, 64%, 72%)
CMYKcmyk(0%, 63.6%, 22.8%, 27.8%)
CIE-LABlab(47.18, 54.94, -17.18)
CIE-LCHlch(47.18, 57.57, 342.64°)
OKLaboklab(56.72% 0.1652 -0.0457)
OKLCHoklch(56.72% 0.171 344.5)
XYZxyz(26.6577, 16.1602, 27.3012)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8438E #43B86D
analogous
#A843B8 #B8438E #B84354
triadic
#B8438E #8EB843 #438EB8
tetradic
#B8438E #B8A843 #43B86D #4354B8
square
#B8438E #B8A843 #43B86D #4354B8
split-complementary
#B8438E #54B843 #43B8A8
monochromatic
#5E2249 #8B336B #B8438E #CA6EA9 #DB9BC4

Accessibility & contrast

On white

4.96
#B8438E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B8438E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8438E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8438E#FFFFFF#000000##FFFFFF
##B8438E1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6390
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#C44262
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b8438e;
/* rgb */ color: rgb(184, 67, 142);
/* oklch */ color: oklch(56.7% 0.171 344.5);
Tailwind
colors: {
  custom: {
    50: '#d17eaf',
    500: '#b8438e',
    950: '#000000',
  },
}
SCSS
$custom: #b8438e;
$custom-light: #d17eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#b8438e",
  "rgb": {
    "r": 184,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 321.538,
    "s": 46.614,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.17138,
    "h": 344.5
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#B8438E
secondary
#90C7A4
accent
#D68152
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B8438E

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

Preview Lab → · Contrast checker → · Palette generator →

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