#B0228A#B0228A

#B0228A is a mid, highly saturated pink. Relative luminance 0.122; OKLCH L 52.3% C 0.202 H 341.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B0228A
RGBrgb(176, 34, 138)
HSLhsl(316, 68%, 41%)
HSVhsv(316, 81%, 69%)
CMYKcmyk(0%, 80.7%, 21.6%, 31%)
CIE-LABlab(41.55, 63.81, -23.54)
CIE-LCHlch(41.55, 68.01, 339.75°)
OKLaboklab(52.3% 0.1919 -0.0633)
OKLCHoklch(52.3% 0.202 341.7)
XYZxyz(23.0648, 12.2116, 25.1822)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0228A #22B048
analogous
#8F22B0 #B0228A #B02243
triadic
#B0228A #8AB022 #228AB0
tetradic
#B0228A #B08F22 #22B048 #2243B0
square
#B0228A #B08F22 #22B048 #2243B0
split-complementary
#B0228A #43B022 #22B08F
monochromatic
#490E3A #7D1862 #B0228A #D837AD #E26AC2

Accessibility & contrast

On white

6.10
#B0228A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B0228A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0228A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0228A#FFFFFF#000000##FFFFFF
##B0228A1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538D
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#BB2555
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0228a;
/* rgb */ color: rgb(176, 34, 138);
/* oklch */ color: oklch(52.3% 0.202 341.7);
Tailwind
colors: {
  custom: {
    50: '#cc6fac',
    500: '#b0228a',
    950: '#000000',
  },
}
SCSS
$custom: #b0228a;
$custom-light: #cc6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#b0228a",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 316.056,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.20208,
    "h": 341.7
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#B0228A
secondary
#66C880
accent
#EA6C3D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B0228A

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

Preview Lab → · Contrast checker → · Palette generator →

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