#B0248A#B0248A

#B0248A is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.4% C 0.200 H 341.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B0248A
RGBrgb(176, 36, 138)
HSLhsl(316, 66%, 42%)
HSVhsv(316, 80%, 69%)
CMYKcmyk(0%, 79.5%, 21.6%, 31%)
CIE-LABlab(41.73, 63.28, -23.25)
CIE-LCHlch(41.73, 67.42, 339.82°)
OKLaboklab(52.44% 0.1903 -0.0625)
OKLCHoklch(52.44% 0.2 341.8)
XYZxyz(23.1236, 12.3293, 25.2018)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0248A #24B04A
analogous
#9024B0 #B0248A #B02444
triadic
#B0248A #8AB024 #248AB0
tetradic
#B0248A #B09024 #24B04A #2444B0
square
#B0248A #B09024 #24B04A #2444B0
split-complementary
#B0248A #44B024 #24B090
monochromatic
#4A0F3A #7D1A62 #B0248A #D73AAC #E16DC2

Accessibility & contrast

On white

6.06
#B0248A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B0248A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0248A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0248A#FFFFFF#000000##FFFFFF
##B0248A1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548D
Deuteranopia (green-blind)
#606A87
Tritanopia (blue-blind)
#BB2755
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0248a;
/* rgb */ color: rgb(176, 36, 138);
/* oklch */ color: oklch(52.4% 0.200 341.8);
Tailwind
colors: {
  custom: {
    50: '#cc6fac',
    500: '#b0248a',
    950: '#000000',
  },
}
SCSS
$custom: #b0248a;
$custom-light: #cc6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#b0248a",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 316.286,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.20028,
    "h": 341.8
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#B0248A
secondary
#68C882
accent
#E96D3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B0248A

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

Preview Lab → · Contrast checker → · Palette generator →

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