#B02548#B02548

#B02548 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.174 H 12.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B02548
RGBrgb(176, 37, 72)
HSLhsl(345, 65%, 42%)
HSVhsv(345, 79%, 69%)
CMYKcmyk(0%, 79%, 59.1%, 31%)
CIE-LABlab(39.62, 56.34, 14.95)
CIE-LCHlch(39.62, 58.30, 14.86°)
OKLaboklab(50.17% 0.1701 0.0371)
OKLCHoklch(50.17% 0.174 12.3)
XYZxyz(19.7378, 11.0240, 7.2182)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02548 #25B08D
analogous
#B0258E #B02548 #B04825
triadic
#B02548 #48B025 #2548B0
tetradic
#B02548 #8EB025 #25B08D #4825B0
square
#B02548 #8EB025 #25B08D #4825B0
split-complementary
#B02548 #25B048 #258EB0
monochromatic
#4B101F #7D1A33 #B02548 #D63C63 #E16F8B

Accessibility & contrast

On white

6.55
#B02548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B02548 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02548
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02548#FFFFFF#000000##FFFFFF
##B025481.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B48
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#C10034
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02548;
/* rgb */ color: rgb(176, 37, 72);
/* oklch */ color: oklch(50.2% 0.174 12.3);
Tailwind
colors: {
  custom: {
    50: '#cf6e7a',
    500: '#b02548',
    950: '#000000',
  },
}
SCSS
$custom: #b02548;
$custom-light: #cf6e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b02548",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 344.892,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.17408,
    "h": 12.3
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#B02548
secondary
#6AC7B0
accent
#E8BE40
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B02548

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

Preview Lab → · Contrast checker → · Palette generator →

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