#B02A56#B02A56

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

Color values

HEX#B02A56
RGBrgb(176, 42, 86)
HSLhsl(340, 61%, 43%)
HSVhsv(340, 76%, 69%)
CMYKcmyk(0%, 76.1%, 51.1%, 31%)
CIE-LABlab(40.51, 55.86, 7.32)
CIE-LCHlch(40.51, 56.34, 7.46°)
OKLaboklab(50.94% 0.1705 0.0191)
OKLCHoklch(50.94% 0.172 6.4)
XYZxyz(20.4140, 11.5607, 9.9588)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A56 #2AB084
analogous
#B02A99 #B02A56 #B0412A
triadic
#B02A56 #56B02A #2A56B0
tetradic
#B02A56 #99B02A #2AB084 #412AB0
square
#B02A56 #99B02A #2AB084 #412AB0
split-complementary
#B02A56 #2AB041 #2A99B0
monochromatic
#4D1226 #7F1E3E #B02A56 #D34573 #DE7698

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02A56#FFFFFF#000000##FFFFFF
##B02A561.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)
#4C4E57
Deuteranopia (green-blind)
#6F6953
Tritanopia (blue-blind)
#C0043D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02a56;
/* rgb */ color: rgb(176, 42, 86);
/* oklch */ color: oklch(50.9% 0.172 6.4);
Tailwind
colors: {
  custom: {
    50: '#ce7085',
    500: '#b02a56',
    950: '#000000',
  },
}
SCSS
$custom: #b02a56;
$custom-light: #ce7085;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a56",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 340.299,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50936,
    "c": 0.17156,
    "h": 6.4
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#B02A56
secondary
#70C6AA
accent
#E5B043
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02A56

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

Preview Lab → · Contrast checker → · Palette generator →

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