#B3228A#B3228A

#B3228A is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.8% C 0.204 H 342.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B3228A
RGBrgb(179, 34, 138)
HSLhsl(317, 68%, 42%)
HSVhsv(317, 81%, 70%)
CMYKcmyk(0%, 81%, 22.9%, 29.8%)
CIE-LABlab(42.10, 64.50, -22.64)
CIE-LCHlch(42.10, 68.36, 340.65°)
OKLaboklab(52.8% 0.1946 -0.0608)
OKLCHoklch(52.8% 0.204 342.7)
XYZxyz(23.7508, 12.5653, 25.2144)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3228A #22B34B
analogous
#9422B3 #B3228A #B32241
triadic
#B3228A #8AB322 #228AB3
tetradic
#B3228A #B39422 #22B34B #2241B3
square
#B3228A #B39422 #22B34B #2241B3
split-complementary
#B3228A #41B322 #22B394
monochromatic
#4C0E3B #801862 #B3228A #D939AC #E36CC2

Accessibility & contrast

On white

5.98
#B3228A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B3228A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3228A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3228A#FFFFFF#000000##FFFFFF
##B3228A1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548D
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#BF2355
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b3228a;
/* rgb */ color: rgb(179, 34, 138);
/* oklch */ color: oklch(52.8% 0.204 342.7);
Tailwind
colors: {
  custom: {
    50: '#ce6fac',
    500: '#b3228a',
    950: '#000000',
  },
}
SCSS
$custom: #b3228a;
$custom-light: #ce6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#b3228a",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 316.966,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52801,
    "c": 0.20383,
    "h": 342.7
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#B3228A
secondary
#68C983
accent
#EB6E3D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3228A

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

Preview Lab → · Contrast checker → · Palette generator →

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