#B2248B#B2248B

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

Color values

HEX#B2248B
RGBrgb(178, 36, 139)
HSLhsl(316, 66%, 42%)
HSVhsv(316, 80%, 70%)
CMYKcmyk(0%, 79.8%, 21.9%, 30.2%)
CIE-LABlab(42.14, 63.87, -23.20)
CIE-LCHlch(42.14, 67.96, 340.04°)
OKLaboklab(52.81% 0.1922 -0.0624)
OKLCHoklch(52.81% 0.202 342)
XYZxyz(23.6520, 12.5933, 25.6062)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2248B #24B24B
analogous
#9224B2 #B2248B #B22444
triadic
#B2248B #8BB224 #248BB2
tetradic
#B2248B #B29224 #24B24B #2444B2
square
#B2248B #B29224 #24B24B #2444B2
split-complementary
#B2248B #44B224 #24B292
monochromatic
#4C0F3B #7F1A63 #B2248B #D83CAD #E26FC2

Accessibility & contrast

On white

5.97
#B2248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2248B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2248B#FFFFFF#000000##FFFFFF
##B2248B1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#616C88
Tritanopia (blue-blind)
#BD2656
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2248b;
/* rgb */ color: rgb(178, 36, 139);
/* oklch */ color: oklch(52.8% 0.202 342.0);
Tailwind
colors: {
  custom: {
    50: '#cd70ad',
    500: '#b2248b',
    950: '#000000',
  },
}
SCSS
$custom: #b2248b;
$custom-light: #cd70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b2248b",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 316.479,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.20208,
    "h": 342
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2248B

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

Preview Lab → · Contrast checker → · Palette generator →

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