#B8438C#B8438C

#B8438C is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.6% C 0.170 H 345.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B8438C
RGBrgb(184, 67, 140)
HSLhsl(323, 47%, 49%)
HSVhsv(323, 64%, 72%)
CMYKcmyk(0%, 63.6%, 23.9%, 27.8%)
CIE-LABlab(47.11, 54.67, -16.09)
CIE-LCHlch(47.11, 56.99, 343.60°)
OKLaboklab(56.64% 0.1647 -0.0426)
OKLCHoklch(56.64% 0.17 345.5)
XYZxyz(26.5089, 16.1007, 26.5175)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8438C #43B86F
analogous
#AA43B8 #B8438C #B84352
triadic
#B8438C #8CB843 #438CB8
tetradic
#B8438C #B8AA43 #43B86F #4352B8
square
#B8438C #B8AA43 #43B86F #4352B8
split-complementary
#B8438C #52B843 #43B8AA
monochromatic
#5E2248 #8B336A #B8438C #CA6EA8 #DB9BC3

Accessibility & contrast

On white

4.98
#B8438C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B8438C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8438C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8438C#FFFFFF#000000##FFFFFF
##B8438C1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F638E
Deuteranopia (green-blind)
#717789
Tritanopia (blue-blind)
#C44161
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b8438c;
/* rgb */ color: rgb(184, 67, 140);
/* oklch */ color: oklch(56.6% 0.170 345.5);
Tailwind
colors: {
  custom: {
    50: '#d17ead',
    500: '#b8438c',
    950: '#000000',
  },
}
SCSS
$custom: #b8438c;
$custom-light: #d17ead;
$custom-dark: #000000;
JSON
{
  "hex": "#b8438c",
  "rgb": {
    "r": 184,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 322.564,
    "s": 46.614,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56638,
    "c": 0.17015,
    "h": 345.5
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#B8438C
secondary
#90C7A5
accent
#D68352
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B8438C

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

Preview Lab → · Contrast checker → · Palette generator →

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