#B8458B#B8458B

#B8458B is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.8% C 0.167 H 346.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B8458B
RGBrgb(184, 69, 139)
HSLhsl(323, 45%, 50%)
HSVhsv(323, 63%, 72%)
CMYKcmyk(0%, 62.5%, 24.5%, 27.8%)
CIE-LABlab(47.38, 53.67, -15.07)
CIE-LCHlch(47.38, 55.75, 344.32°)
OKLaboklab(56.83% 0.1618 -0.0398)
OKLCHoklch(56.83% 0.167 346.2)
XYZxyz(26.5564, 16.3132, 26.1713)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8458B #45B872
analogous
#AC45B8 #B8458B #B84552
triadic
#B8458B #8BB845 #458BB8
tetradic
#B8458B #B8AC45 #45B872 #4552B8
square
#B8458B #B8AC45 #45B872 #4552B8
split-complementary
#B8458B #52B845 #45B8AC
monochromatic
#5F2448 #8B3469 #B8458B #CA71A7 #DA9DC2

Accessibility & contrast

On white

4.93
#B8458B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B8458B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8458B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8458B#FFFFFF#000000##FFFFFF
##B8458B1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648D
Deuteranopia (green-blind)
#727888
Tritanopia (blue-blind)
#C44362
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b8458b;
/* rgb */ color: rgb(184, 69, 139);
/* oklch */ color: oklch(56.8% 0.167 346.2);
Tailwind
colors: {
  custom: {
    50: '#d17fad',
    500: '#b8458b',
    950: '#000000',
  },
}
SCSS
$custom: #b8458b;
$custom-light: #d17fad;
$custom-dark: #000000;
JSON
{
  "hex": "#b8458b",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 323.478,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5683,
    "c": 0.16667,
    "h": 346.2
  },
  "luminance": 0.16311
}

Semantic roles & 50–950 ramp

primary
#B8458B
secondary
#92C7A7
accent
#D58653
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B8458B

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

Preview Lab → · Contrast checker → · Palette generator →

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