#B02A51#B02A51

#B02A51 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.171 H 8.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B02A51
RGBrgb(176, 42, 81)
HSLhsl(343, 61%, 43%)
HSVhsv(343, 76%, 69%)
CMYKcmyk(0%, 76.1%, 54%, 31%)
CIE-LABlab(40.38, 55.45, 10.30)
CIE-LCHlch(40.38, 56.40, 10.52°)
OKLaboklab(50.8% 0.1686 0.0263)
OKLCHoklch(50.8% 0.171 8.9)
XYZxyz(20.2195, 11.4830, 8.9347)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A51 #2AB089
analogous
#B02A94 #B02A51 #B0462A
triadic
#B02A51 #51B02A #2A51B0
tetradic
#B02A51 #94B02A #2AB089 #462AB0
square
#B02A51 #94B02A #2AB089 #462AB0
split-complementary
#B02A51 #2AB046 #2A94B0
monochromatic
#4D1224 #7F1E3A #B02A51 #D3456E #DE7694

Accessibility & contrast

On white

6.37
#B02A51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B02A51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A51
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A51#FFFFFF#000000##FFFFFF
##B02A511.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#70694E
Tritanopia (blue-blind)
#C0003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02a51;
/* rgb */ color: rgb(176, 42, 81);
/* oklch */ color: oklch(50.8% 0.171 8.9);
Tailwind
colors: {
  custom: {
    50: '#ce7081',
    500: '#b02a51',
    950: '#000000',
  },
}
SCSS
$custom: #b02a51;
$custom-light: #ce7081;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a51",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 342.537,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.17063,
    "h": 8.9
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#B02A51
secondary
#70C6AD
accent
#E5B643
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02A51

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

Preview Lab → · Contrast checker → · Palette generator →

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