#B8335F#B8335F

#B8335F is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.171 H 5.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B8335F
RGBrgb(184, 51, 95)
HSLhsl(340, 57%, 46%)
HSVhsv(340, 72%, 72%)
CMYKcmyk(0%, 72.3%, 48.4%, 27.8%)
CIE-LABlab(43.34, 55.88, 5.90)
CIE-LCHlch(43.34, 56.19, 6.03°)
OKLaboklab(53.38% 0.1707 0.0156)
OKLCHoklch(53.38% 0.171 5.2)
XYZxyz(23.0185, 13.3873, 12.1961)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8335F #33B88C
analogous
#B833A1 #B8335F #B84933
triadic
#B8335F #5FB833 #335FB8
tetradic
#B8335F #A1B833 #33B88C #4933B8
square
#B8335F #A1B833 #33B88C #4933B8
split-complementary
#B8335F #33B849 #33A1B8
monochromatic
#58182E #882646 #B8335F #D15880 #DE88A4

Accessibility & contrast

On white

5.71
#B8335F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B8335F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8335F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8335F#FFFFFF#000000##FFFFFF
##B8335F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525660
Deuteranopia (green-blind)
#75705C
Tritanopia (blue-blind)
#C81A45
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b8335f;
/* rgb */ color: rgb(184, 51, 95);
/* oklch */ color: oklch(53.4% 0.171 5.2);
Tailwind
colors: {
  custom: {
    50: '#d3758c',
    500: '#b8335f',
    950: '#000000',
  },
}
SCSS
$custom: #b8335f;
$custom-light: #d3758c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8335f",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 340.15,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.17142,
    "h": 5.2
  },
  "luminance": 0.13384
}

Semantic roles & 50–950 ramp

primary
#B8335F
secondary
#7FC8B0
accent
#E0AE48
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B8335F

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

Preview Lab → · Contrast checker → · Palette generator →

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