#B02258#B02258

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

Color values

HEX#B02258
RGBrgb(176, 34, 88)
HSLhsl(337, 68%, 41%)
HSVhsv(337, 81%, 69%)
CMYKcmyk(0%, 80.7%, 50%, 31%)
CIE-LABlab(39.72, 58.42, 4.92)
CIE-LCHlch(39.72, 58.62, 4.82°)
OKLaboklab(50.37% 0.179 0.0131)
OKLCHoklch(50.37% 0.179 4.2)
XYZxyz(20.2398, 11.0816, 10.3038)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02258 #22B07A
analogous
#B0229F #B02258 #B03322
triadic
#B02258 #58B022 #2258B0
tetradic
#B02258 #9FB022 #22B07A #3322B0
square
#B02258 #9FB022 #22B07A #3322B0
split-complementary
#B02258 #22B033 #229FB0
monochromatic
#490E25 #7D183E #B02258 #D83774 #E26A98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02258#FFFFFF#000000##FFFFFF
##B022581.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)
#474C59
Deuteranopia (green-blind)
#6C6755
Tritanopia (blue-blind)
#C0003A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02258;
/* rgb */ color: rgb(176, 34, 88);
/* oklch */ color: oklch(50.4% 0.179 4.2);
Tailwind
colors: {
  custom: {
    50: '#ce6d86',
    500: '#b02258',
    950: '#000000',
  },
}
SCSS
$custom: #b02258;
$custom-light: #ce6d86;
$custom-dark: #000000;
JSON
{
  "hex": "#b02258",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 337.183,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50371,
    "c": 0.17943,
    "h": 4.2
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#B02258
secondary
#66C8A3
accent
#EAA93D
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02258

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

Preview Lab → · Contrast checker → · Palette generator →

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