#B2248E#B2248E

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

Color values

HEX#B2248E
RGBrgb(178, 36, 142)
HSLhsl(315, 66%, 42%)
HSVhsv(315, 80%, 70%)
CMYKcmyk(0%, 79.8%, 20.2%, 30.2%)
CIE-LABlab(42.28, 64.27, -24.82)
CIE-LCHlch(42.28, 68.89, 338.88°)
OKLaboklab(52.96% 0.1926 -0.0669)
OKLCHoklch(52.96% 0.204 340.8)
XYZxyz(23.8742, 12.6822, 26.7765)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2248E #24B248
analogous
#8F24B2 #B2248E #B22447
triadic
#B2248E #8EB224 #248EB2
tetradic
#B2248E #B28F24 #24B248 #2447B2
square
#B2248E #B28F24 #24B248 #2447B2
split-complementary
#B2248E #47B224 #24B28F
monochromatic
#4C0F3D #7F1A65 #B2248E #D83CB0 #E26FC5

Accessibility & contrast

On white

5.94
#B2248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2248E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2248E#FFFFFF#000000##FFFFFF
##B2248E1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#BD2858
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b2248e;
/* rgb */ color: rgb(178, 36, 142);
/* oklch */ color: oklch(53.0% 0.204 340.8);
Tailwind
colors: {
  custom: {
    50: '#cd70af',
    500: '#b2248e',
    950: '#000000',
  },
}
SCSS
$custom: #b2248e;
$custom-light: #cd70af;
$custom-dark: #000000;
JSON
{
  "hex": "#b2248e",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 315.211,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.20392,
    "h": 340.8
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#B2248E
secondary
#69C882
accent
#E96A3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B2248E

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

Preview Lab → · Contrast checker → · Palette generator →

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