#B02A57#B02A57

#B02A57 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.172 H 5.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B02A57
RGBrgb(176, 42, 87)
HSLhsl(340, 61%, 43%)
HSVhsv(340, 76%, 69%)
CMYKcmyk(0%, 76.1%, 50.6%, 31%)
CIE-LABlab(40.54, 55.94, 6.72)
CIE-LCHlch(40.54, 56.35, 6.85°)
OKLaboklab(50.96% 0.1709 0.0176)
OKLCHoklch(50.96% 0.172 5.9)
XYZxyz(20.4546, 11.5770, 10.1725)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A57 #2AB083
analogous
#B02A9A #B02A57 #B0402A
triadic
#B02A57 #57B02A #2A57B0
tetradic
#B02A57 #9AB02A #2AB083 #402AB0
square
#B02A57 #9AB02A #2AB083 #402AB0
split-complementary
#B02A57 #2AB040 #2A9AB0
monochromatic
#4D1226 #7F1E3F #B02A57 #D34574 #DE7699

Accessibility & contrast

On white

6.34
#B02A57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B02A57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A57
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A57#FFFFFF#000000##FFFFFF
##B02A571.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F58
Deuteranopia (green-blind)
#6F6954
Tritanopia (blue-blind)
#C0053D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02a57;
/* rgb */ color: rgb(176, 42, 87);
/* oklch */ color: oklch(51.0% 0.172 5.9);
Tailwind
colors: {
  custom: {
    50: '#ce7086',
    500: '#b02a57',
    950: '#000000',
  },
}
SCSS
$custom: #b02a57;
$custom-light: #ce7086;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a57",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 339.851,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50964,
    "c": 0.17177,
    "h": 5.9
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#B02A57
secondary
#70C6A9
accent
#E5AE43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02A57

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

Preview Lab → · Contrast checker → · Palette generator →

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