#B3228C#B3228C

#B3228C is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.9% C 0.205 H 341.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B3228C
RGBrgb(179, 34, 140)
HSLhsl(316, 68%, 42%)
HSVhsv(316, 81%, 70%)
CMYKcmyk(0%, 81%, 21.8%, 29.8%)
CIE-LABlab(42.19, 64.75, -23.73)
CIE-LCHlch(42.19, 68.96, 339.88°)
OKLaboklab(52.9% 0.1948 -0.0638)
OKLCHoklch(52.9% 0.205 341.9)
XYZxyz(23.8969, 12.6238, 25.9840)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3228C #22B349
analogous
#9222B3 #B3228C #B32244
triadic
#B3228C #8CB322 #228CB3
tetradic
#B3228C #B39222 #22B349 #2244B3
square
#B3228C #B39222 #22B349 #2244B3
split-complementary
#B3228C #44B322 #22B392
monochromatic
#4C0E3C #801864 #B3228C #D939AE #E36CC3

Accessibility & contrast

On white

5.96
#B3228C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B3228C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3228C
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3228C#FFFFFF#000000##FFFFFF
##B3228C1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#616C89
Tritanopia (blue-blind)
#BE2556
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3228c;
/* rgb */ color: rgb(179, 34, 140);
/* oklch */ color: oklch(52.9% 0.205 341.9);
Tailwind
colors: {
  custom: {
    50: '#ce6fae',
    500: '#b3228c',
    950: '#000000',
  },
}
SCSS
$custom: #b3228c;
$custom-light: #ce6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3228c",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 316.138,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52895,
    "c": 0.20503,
    "h": 341.9
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#B3228C
secondary
#68C982
accent
#EB6C3D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3228C

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

Preview Lab → · Contrast checker → · Palette generator →

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