#B3228F#B3228F

#B3228F is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.207 H 340.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B3228F
RGBrgb(179, 34, 143)
HSLhsl(315, 68%, 42%)
HSVhsv(315, 81%, 70%)
CMYKcmyk(0%, 81%, 20.1%, 29.8%)
CIE-LABlab(42.33, 65.14, -25.34)
CIE-LCHlch(42.33, 69.90, 338.75°)
OKLaboklab(53.04% 0.1952 -0.0684)
OKLCHoklch(53.04% 0.207 340.7)
XYZxyz(24.1211, 12.7135, 27.1649)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3228F #22B346
analogous
#8F22B3 #B3228F #B32246
triadic
#B3228F #8FB322 #228FB3
tetradic
#B3228F #B38F22 #22B346 #2246B3
square
#B3228F #B38F22 #22B346 #2246B3
split-complementary
#B3228F #46B322 #22B38F
monochromatic
#4C0E3D #801866 #B3228F #D939B2 #E36CC6

Accessibility & contrast

On white

5.93
#B3228F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3228F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3228F#FFFFFF#000000##FFFFFF
##B3228F1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#606C8C
Tritanopia (blue-blind)
#BE2758
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3228f;
/* rgb */ color: rgb(179, 34, 143);
/* oklch */ color: oklch(53.0% 0.207 340.7);
Tailwind
colors: {
  custom: {
    50: '#ce6fb0',
    500: '#b3228f',
    950: '#000000',
  },
}
SCSS
$custom: #b3228f;
$custom-light: #ce6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b3228f",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 314.897,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53039,
    "c": 0.20687,
    "h": 340.7
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#B3228F
secondary
#68C980
accent
#EB683D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3228F

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

Preview Lab → · Contrast checker → · Palette generator →

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