#B8335D#B8335D

#B8335D is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.171 H 6.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B8335D
RGBrgb(184, 51, 93)
HSLhsl(341, 57%, 46%)
HSVhsv(341, 72%, 72%)
CMYKcmyk(0%, 72.3%, 49.5%, 27.8%)
CIE-LABlab(43.29, 55.70, 7.07)
CIE-LCHlch(43.29, 56.15, 7.24°)
OKLaboklab(53.32% 0.17 0.0185)
OKLCHoklch(53.32% 0.171 6.2)
XYZxyz(22.9287, 13.3514, 11.7235)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8335D #33B88E
analogous
#B8339F #B8335D #B84B33
triadic
#B8335D #5DB833 #335DB8
tetradic
#B8335D #9FB833 #33B88E #4B33B8
square
#B8335D #9FB833 #33B88E #4B33B8
split-complementary
#B8335D #33B84B #339FB8
monochromatic
#58182D #882645 #B8335D #D1587E #DE88A3

Accessibility & contrast

On white

5.72
#B8335D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B8335D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8335D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8335D#FFFFFF#000000##FFFFFF
##B8335D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555E
Deuteranopia (green-blind)
#76705A
Tritanopia (blue-blind)
#C81844
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b8335d;
/* rgb */ color: rgb(184, 51, 93);
/* oklch */ color: oklch(53.3% 0.171 6.2);
Tailwind
colors: {
  custom: {
    50: '#d3758a',
    500: '#b8335d',
    950: '#000000',
  },
}
SCSS
$custom: #b8335d;
$custom-light: #d3758a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8335d",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 341.053,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.17099,
    "h": 6.2
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#B8335D
secondary
#7FC8B1
accent
#E0B048
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B8335D

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

Preview Lab → · Contrast checker → · Palette generator →

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