#B02451#B02451

#B02451 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.176 H 7.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B02451
RGBrgb(176, 36, 81)
HSLhsl(341, 66%, 42%)
HSVhsv(341, 80%, 69%)
CMYKcmyk(0%, 79.5%, 54%, 31%)
CIE-LABlab(39.73, 57.29, 9.39)
CIE-LCHlch(39.73, 58.06, 9.31°)
OKLaboklab(50.32% 0.1745 0.024)
OKLCHoklch(50.32% 0.176 7.8)
XYZxyz(20.0225, 11.0888, 8.8690)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02451 #24B083
analogous
#B02497 #B02451 #B03D24
triadic
#B02451 #51B024 #2451B0
tetradic
#B02451 #97B024 #24B083 #3D24B0
square
#B02451 #97B024 #24B083 #3D24B0
split-complementary
#B02451 #24B03D #2497B0
monochromatic
#4A0F22 #7D1A3A #B02451 #D73A6D #E16D92

Accessibility & contrast

On white

6.53
#B02451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B02451 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02451
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02451#FFFFFF#000000##FFFFFF
##B024511.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C52
Deuteranopia (green-blind)
#6E684E
Tritanopia (blue-blind)
#C00038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02451;
/* rgb */ color: rgb(176, 36, 81);
/* oklch */ color: oklch(50.3% 0.176 7.8);
Tailwind
colors: {
  custom: {
    50: '#ce6d81',
    500: '#b02451',
    950: '#000000',
  },
}
SCSS
$custom: #b02451;
$custom-light: #ce6d81;
$custom-dark: #000000;
JSON
{
  "hex": "#b02451",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 340.714,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5032,
    "c": 0.17619,
    "h": 7.8
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#B02451
secondary
#68C8A9
accent
#E9B23F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02451

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

Preview Lab → · Contrast checker → · Palette generator →

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