#B2248F#B2248F

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

Color values

HEX#B2248F
RGBrgb(178, 36, 143)
HSLhsl(315, 66%, 42%)
HSVhsv(315, 80%, 70%)
CMYKcmyk(0%, 79.8%, 19.7%, 30.2%)
CIE-LABlab(42.33, 64.40, -25.36)
CIE-LCHlch(42.33, 69.21, 338.51°)
OKLaboklab(53% 0.1928 -0.0685)
OKLCHoklch(53% 0.205 340.4)
XYZxyz(23.9497, 12.7124, 27.1737)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2248F #24B247
analogous
#8E24B2 #B2248F #B22448
triadic
#B2248F #8FB224 #248FB2
tetradic
#B2248F #B28E24 #24B247 #2448B2
square
#B2248F #B28E24 #24B247 #2448B2
split-complementary
#B2248F #48B224 #24B28E
monochromatic
#4C0F3D #7F1A66 #B2248F #D83CB1 #E26FC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2248F#FFFFFF#000000##FFFFFF
##B2248F1.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)
#305692
Deuteranopia (green-blind)
#606C8C
Tritanopia (blue-blind)
#BD2958
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b2248f;
/* rgb */ color: rgb(178, 36, 143);
/* oklch */ color: oklch(53.0% 0.205 340.4);
Tailwind
colors: {
  custom: {
    50: '#cd70b0',
    500: '#b2248f',
    950: '#000000',
  },
}
SCSS
$custom: #b2248f;
$custom-light: #cd70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2248f",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 314.789,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53004,
    "c": 0.20455,
    "h": 340.4
  },
  "luminance": 0.1271
}

Semantic roles & 50–950 ramp

primary
#B2248F
secondary
#69C881
accent
#E9693F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B2248F

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

Preview Lab → · Contrast checker → · Palette generator →

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