#B0248E#B0248E

#B0248E is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.6% C 0.203 H 340.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B0248E
RGBrgb(176, 36, 142)
HSLhsl(315, 66%, 42%)
HSVhsv(315, 80%, 69%)
CMYKcmyk(0%, 79.5%, 19.3%, 31%)
CIE-LABlab(41.92, 63.81, -25.41)
CIE-LCHlch(41.92, 68.68, 338.29°)
OKLaboklab(52.63% 0.1908 -0.0687)
OKLCHoklch(52.63% 0.203 340.2)
XYZxyz(23.4186, 12.4473, 26.7552)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0248E #24B046
analogous
#8C24B0 #B0248E #B02448
triadic
#B0248E #8EB024 #248EB0
tetradic
#B0248E #B08C24 #24B046 #2448B0
square
#B0248E #B08C24 #24B046 #2448B0
split-complementary
#B0248E #48B024 #24B08C
monochromatic
#4A0F3C #7D1A65 #B0248E #D73AB1 #E16DC5

Accessibility & contrast

On white

6.02
#B0248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B0248E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0248E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0248E#FFFFFF#000000##FFFFFF
##B0248E1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#BB2958
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0248e;
/* rgb */ color: rgb(176, 36, 142);
/* oklch */ color: oklch(52.6% 0.203 340.2);
Tailwind
colors: {
  custom: {
    50: '#cc70af',
    500: '#b0248e',
    950: '#000000',
  },
}
SCSS
$custom: #b0248e;
$custom-light: #cc70af;
$custom-dark: #000000;
JSON
{
  "hex": "#b0248e",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 314.571,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52628,
    "c": 0.20278,
    "h": 340.2
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#B0248E
secondary
#68C87F
accent
#E9683F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B0248E

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

Preview Lab → · Contrast checker → · Palette generator →

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