#B03174#B03174

#B03174 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.174 H 352.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B03174
RGBrgb(176, 49, 116)
HSLhsl(328, 56%, 44%)
HSVhsv(328, 72%, 69%)
CMYKcmyk(0%, 72.2%, 34.1%, 31%)
CIE-LABlab(42.29, 56.46, -8.86)
CIE-LCHlch(42.29, 57.15, 351.08°)
OKLaboklab(52.55% 0.1728 -0.0228)
OKLCHoklch(52.55% 0.174 352.5)
XYZxyz(22.1565, 12.6903, 17.8023)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03174 #31B06D
analogous
#AC31B0 #B03174 #B03135
triadic
#B03174 #74B031 #3174B0
tetradic
#B03174 #B0AC31 #31B06D #3135B0
square
#B03174 #B0AC31 #31B06D #3135B0
split-complementary
#B03174 #35B031 #31B0AC
monochromatic
#501635 #802454 #B03174 #CE5093 #DC80B0

Accessibility & contrast

On white

5.94
#B03174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B03174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03174
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03174#FFFFFF#000000##FFFFFF
##B031741.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475576
Deuteranopia (green-blind)
#6B6C71
Tritanopia (blue-blind)
#BD274E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b03174;
/* rgb */ color: rgb(176, 49, 116);
/* oklch */ color: oklch(52.6% 0.174 352.5);
Tailwind
colors: {
  custom: {
    50: '#cc749c',
    500: '#b03174',
    950: '#000000',
  },
}
SCSS
$custom: #b03174;
$custom-light: #cc749c;
$custom-dark: #000000;
JSON
{
  "hex": "#b03174",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 328.346,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.1743,
    "h": 352.5
  },
  "luminance": 0.12688
}

Semantic roles & 50–950 ramp

primary
#B03174
secondary
#78C59C
accent
#E09048
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B03174

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

Preview Lab → · Contrast checker → · Palette generator →

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