#B8458C#B8458C

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

Color values

HEX#B8458C
RGBrgb(184, 69, 140)
HSLhsl(323, 45%, 50%)
HSVhsv(323, 63%, 72%)
CMYKcmyk(0%, 62.5%, 23.9%, 27.8%)
CIE-LABlab(47.42, 53.81, -15.61)
CIE-LCHlch(47.42, 56.03, 343.82°)
OKLaboklab(56.87% 0.1621 -0.0413)
OKLCHoklch(56.87% 0.167 345.7)
XYZxyz(26.6298, 16.3426, 26.5578)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8458C #45B871
analogous
#AB45B8 #B8458C #B84552
triadic
#B8458C #8CB845 #458CB8
tetradic
#B8458C #B8AB45 #45B871 #4552B8
square
#B8458C #B8AB45 #45B871 #4552B8
split-complementary
#B8458C #52B845 #45B8AB
monochromatic
#5F2448 #8B346A #B8458C #CA71A8 #DA9DC3

Accessibility & contrast

On white

4.92
#B8458C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B8458C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8458C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8458C#FFFFFF#000000##FFFFFF
##B8458C1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8458c;
/* rgb */ color: rgb(184, 69, 140);
/* oklch */ color: oklch(56.9% 0.167 345.7);
Tailwind
colors: {
  custom: {
    50: '#d17fad',
    500: '#b8458c',
    950: '#000000',
  },
}
SCSS
$custom: #b8458c;
$custom-light: #d17fad;
$custom-dark: #000000;
JSON
{
  "hex": "#b8458c",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 322.957,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.16728,
    "h": 345.7
  },
  "luminance": 0.1634
}

Semantic roles & 50–950 ramp

primary
#B8458C
secondary
#92C7A6
accent
#D58553
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B8458C

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

Preview Lab → · Contrast checker → · Palette generator →

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