#B2248C#B2248C

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

Color values

HEX#B2248C
RGBrgb(178, 36, 140)
HSLhsl(316, 66%, 42%)
HSVhsv(316, 80%, 70%)
CMYKcmyk(0%, 79.8%, 21.3%, 30.2%)
CIE-LABlab(42.19, 64.00, -23.74)
CIE-LCHlch(42.19, 68.27, 339.65°)
OKLaboklab(52.86% 0.1924 -0.0639)
OKLCHoklch(52.86% 0.203 341.6)
XYZxyz(23.7254, 12.6227, 25.9928)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2248C #24B24A
analogous
#9124B2 #B2248C #B22445
triadic
#B2248C #8CB224 #248CB2
tetradic
#B2248C #B29124 #24B24A #2445B2
square
#B2248C #B29124 #24B24A #2445B2
split-complementary
#B2248C #45B224 #24B291
monochromatic
#4C0F3C #7F1A64 #B2248C #D83CAE #E26FC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2248C#FFFFFF#000000##FFFFFF
##B2248C1.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)
#33558F
Deuteranopia (green-blind)
#616C89
Tritanopia (blue-blind)
#BD2756
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b2248c;
/* rgb */ color: rgb(178, 36, 140);
/* oklch */ color: oklch(52.9% 0.203 341.6);
Tailwind
colors: {
  custom: {
    50: '#cd70ae',
    500: '#b2248c',
    950: '#000000',
  },
}
SCSS
$custom: #b2248c;
$custom-light: #cd70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2248c",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 316.056,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5286,
    "c": 0.20269,
    "h": 341.6
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#B2248C
secondary
#69C883
accent
#E96C3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B2248C

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

Preview Lab → · Contrast checker → · Palette generator →

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