#B0248B#B0248B

#B0248B is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.5% C 0.201 H 341.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B0248B
RGBrgb(176, 36, 139)
HSLhsl(316, 66%, 42%)
HSVhsv(316, 80%, 69%)
CMYKcmyk(0%, 79.5%, 21%, 31%)
CIE-LABlab(41.78, 63.41, -23.80)
CIE-LCHlch(41.78, 67.73, 339.43°)
OKLaboklab(52.48% 0.1904 -0.0641)
OKLCHoklch(52.48% 0.201 341.4)
XYZxyz(23.1964, 12.3584, 25.5849)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0248B #24B049
analogous
#8F24B0 #B0248B #B02445
triadic
#B0248B #8BB024 #248BB0
tetradic
#B0248B #B08F24 #24B049 #2445B0
square
#B0248B #B08F24 #24B049 #2445B0
split-complementary
#B0248B #45B024 #24B08F
monochromatic
#4A0F3B #7D1A63 #B0248B #D73AAD #E16DC3

Accessibility & contrast

On white

6.05
#B0248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0248B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0248B#FFFFFF#000000##FFFFFF
##B0248B1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548E
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#BB2756
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0248b;
/* rgb */ color: rgb(176, 36, 139);
/* oklch */ color: oklch(52.5% 0.201 341.4);
Tailwind
colors: {
  custom: {
    50: '#cc6fad',
    500: '#b0248b',
    950: '#000000',
  },
}
SCSS
$custom: #b0248b;
$custom-light: #cc6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#b0248b",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 315.857,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52483,
    "c": 0.20089,
    "h": 341.4
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#B0248B
secondary
#68C881
accent
#E96C3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B0248B

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

Preview Lab → · Contrast checker → · Palette generator →

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