#B02558#B02558

#B02558 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.177 H 4.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B02558
RGBrgb(176, 37, 88)
HSLhsl(338, 65%, 42%)
HSVhsv(338, 79%, 69%)
CMYKcmyk(0%, 79%, 50%, 31%)
CIE-LABlab(40.02, 57.57, 5.35)
CIE-LCHlch(40.02, 57.82, 5.31°)
OKLaboklab(50.59% 0.1762 0.0142)
OKLCHoklch(50.59% 0.177 4.6)
XYZxyz(20.3293, 11.2607, 10.3337)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02558 #25B07D
analogous
#B0259E #B02558 #B03825
triadic
#B02558 #58B025 #2558B0
tetradic
#B02558 #9EB025 #25B07D #3825B0
square
#B02558 #9EB025 #25B07D #3825B0
split-complementary
#B02558 #25B038 #259EB0
monochromatic
#4B1025 #7D1A3F #B02558 #D63C75 #E16F99

Accessibility & contrast

On white

6.46
#B02558 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B02558 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02558
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02558#FFFFFF#000000##FFFFFF
##B025581.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D59
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#C0003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02558;
/* rgb */ color: rgb(176, 37, 88);
/* oklch */ color: oklch(50.6% 0.177 4.6);
Tailwind
colors: {
  custom: {
    50: '#ce6e86',
    500: '#b02558',
    950: '#000000',
  },
}
SCSS
$custom: #b02558;
$custom-light: #ce6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#b02558",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 337.986,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.17678,
    "h": 4.6
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#B02558
secondary
#6AC7A5
accent
#E8AA40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02558

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

Preview Lab → · Contrast checker → · Palette generator →

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