#B3337F#B3337F

#B3337F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.180 H 348.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B3337F
RGBrgb(179, 51, 127)
HSLhsl(324, 56%, 45%)
HSVhsv(324, 72%, 70%)
CMYKcmyk(0%, 71.5%, 29.1%, 29.8%)
CIE-LABlab(43.49, 57.88, -13.78)
CIE-LCHlch(43.49, 59.50, 346.61°)
OKLaboklab(53.66% 0.1762 -0.0362)
OKLCHoklch(53.66% 0.18 348.4)
XYZxyz(23.6061, 13.4863, 21.4345)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3337F #33B367
analogous
#A733B3 #B3337F #B3333F
triadic
#B3337F #7FB333 #337FB3
tetradic
#B3337F #B3A733 #33B367 #333FB3
square
#B3337F #B3A733 #33B367 #333FB3
split-complementary
#B3337F #3FB333 #33B3A7
monochromatic
#54183B #83255D #B3337F #CE559D #DC84B8

Accessibility & contrast

On white

5.68
#B3337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B3337F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3337F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3337F#FFFFFF#000000##FFFFFF
##B3337F1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455881
Deuteranopia (green-blind)
#6B6F7C
Tritanopia (blue-blind)
#C02E54
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3337f;
/* rgb */ color: rgb(179, 51, 127);
/* oklch */ color: oklch(53.7% 0.180 348.4);
Tailwind
colors: {
  custom: {
    50: '#ce75a4',
    500: '#b3337f',
    950: '#000000',
  },
}
SCSS
$custom: #b3337f;
$custom-light: #ce75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b3337f",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 324.375,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53659,
    "c": 0.17987,
    "h": 348.4
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#B3337F
secondary
#7CC69A
accent
#DF8649
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B3337F

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

Preview Lab → · Contrast checker → · Palette generator →

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