#B2248A#B2248A

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

Color values

HEX#B2248A
RGBrgb(178, 36, 138)
HSLhsl(317, 66%, 42%)
HSVhsv(317, 80%, 70%)
CMYKcmyk(0%, 79.8%, 22.5%, 30.2%)
CIE-LABlab(42.10, 63.74, -22.66)
CIE-LCHlch(42.10, 67.65, 340.43°)
OKLaboklab(52.77% 0.1921 -0.0608)
OKLCHoklch(52.77% 0.201 342.4)
XYZxyz(23.5793, 12.5642, 25.2232)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2248A #24B24C
analogous
#9324B2 #B2248A #B22443
triadic
#B2248A #8AB224 #248AB2
tetradic
#B2248A #B29324 #24B24C #2443B2
square
#B2248A #B29324 #24B24C #2443B2
split-complementary
#B2248A #43B224 #24B293
monochromatic
#4C0F3B #7F1A63 #B2248A #D83CAC #E26FC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2248A#FFFFFF#000000##FFFFFF
##B2248A1.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)
#34558D
Deuteranopia (green-blind)
#616C87
Tritanopia (blue-blind)
#BE2655
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2248a;
/* rgb */ color: rgb(178, 36, 138);
/* oklch */ color: oklch(52.8% 0.201 342.4);
Tailwind
colors: {
  custom: {
    50: '#cd70ac',
    500: '#b2248a',
    950: '#000000',
  },
}
SCSS
$custom: #b2248a;
$custom-light: #cd70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b2248a",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 316.901,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.20147,
    "h": 342.4
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#B2248A
secondary
#69C884
accent
#E96F3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B2248A

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

Preview Lab → · Contrast checker → · Palette generator →

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