#B8457E#B8457E

#B8457E is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.3% C 0.160 H 352.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B8457E
RGBrgb(184, 69, 126)
HSLhsl(330, 45%, 50%)
HSVhsv(330, 63%, 72%)
CMYKcmyk(0%, 62.5%, 31.5%, 27.8%)
CIE-LABlab(46.92, 51.97, -7.92)
CIE-LCHlch(46.92, 52.57, 351.34°)
OKLaboklab(56.33% 0.1583 -0.0203)
OKLCHoklch(56.33% 0.16 352.7)
XYZxyz(25.6624, 15.9556, 21.4629)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8457E #45B87F
analogous
#B845B8 #B8457E #B84545
triadic
#B8457E #7EB845 #457EB8
tetradic
#B8457E #B8B845 #45B87F #4545B8
square
#B8457E #B8B845 #45B87F #4545B8
split-complementary
#B8457E #45B845 #45B8B8
monochromatic
#5F2441 #8B3460 #B8457E #CA719D #DA9DBB

Accessibility & contrast

On white

5.01
#B8457E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B8457E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8457E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8457E#FFFFFF#000000##FFFFFF
##B8457E1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566280
Deuteranopia (green-blind)
#76777B
Tritanopia (blue-blind)
#C53E5C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b8457e;
/* rgb */ color: rgb(184, 69, 126);
/* oklch */ color: oklch(56.3% 0.160 352.7);
Tailwind
colors: {
  custom: {
    50: '#d17fa3',
    500: '#b8457e',
    950: '#000000',
  },
}
SCSS
$custom: #b8457e;
$custom-light: #d17fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8457e",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 330.261,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56332,
    "c": 0.15956,
    "h": 352.7
  },
  "luminance": 0.15953
}

Semantic roles & 50–950 ramp

primary
#B8457E
secondary
#92C7AD
accent
#D59453
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #B8457E

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

Preview Lab → · Contrast checker → · Palette generator →

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