#B02457#B02457

#B02457 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.177 H 4.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B02457
RGBrgb(176, 36, 87)
HSLhsl(338, 66%, 42%)
HSVhsv(338, 80%, 69%)
CMYKcmyk(0%, 79.5%, 50.6%, 31%)
CIE-LABlab(39.89, 57.78, 5.80)
CIE-LCHlch(39.89, 58.07, 5.73°)
OKLaboklab(50.49% 0.1768 0.0153)
OKLCHoklch(50.49% 0.177 4.9)
XYZxyz(20.2575, 11.1828, 10.1068)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02457 #24B07D
analogous
#B0249D #B02457 #B03724
triadic
#B02457 #57B024 #2457B0
tetradic
#B02457 #9DB024 #24B07D #3724B0
square
#B02457 #9DB024 #24B07D #3724B0
split-complementary
#B02457 #24B037 #249DB0
monochromatic
#4A0F25 #7D1A3E #B02457 #D73A73 #E16D97

Accessibility & contrast

On white

6.49
#B02457 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B02457 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02457
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02457#FFFFFF#000000##FFFFFF
##B024571.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C58
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#C0003B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02457;
/* rgb */ color: rgb(176, 36, 87);
/* oklch */ color: oklch(50.5% 0.177 4.9);
Tailwind
colors: {
  custom: {
    50: '#ce6e86',
    500: '#b02457',
    950: '#000000',
  },
}
SCSS
$custom: #b02457;
$custom-light: #ce6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#b02457",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 338.143,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.17744,
    "h": 4.9
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

primary
#B02457
secondary
#68C8A5
accent
#E9AB3F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02457

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

Preview Lab → · Contrast checker → · Palette generator →

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