#B02A52#B02A52

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

Color values

HEX#B02A52
RGBrgb(176, 42, 82)
HSLhsl(342, 61%, 43%)
HSVhsv(342, 76%, 69%)
CMYKcmyk(0%, 76.1%, 53.4%, 31%)
CIE-LABlab(40.41, 55.53, 9.70)
CIE-LCHlch(40.41, 56.37, 9.91°)
OKLaboklab(50.83% 0.169 0.0248)
OKLCHoklch(50.83% 0.171 8.4)
XYZxyz(20.2573, 11.4981, 9.1337)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A52 #2AB088
analogous
#B02A95 #B02A52 #B0452A
triadic
#B02A52 #52B02A #2A52B0
tetradic
#B02A52 #95B02A #2AB088 #452AB0
square
#B02A52 #95B02A #2AB088 #452AB0
split-complementary
#B02A52 #2AB045 #2A95B0
monochromatic
#4D1224 #7F1E3B #B02A52 #D3456F #DE7695

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02A52#FFFFFF#000000##FFFFFF
##B02A521.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)
#4C4E53
Deuteranopia (green-blind)
#6F694F
Tritanopia (blue-blind)
#C0003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02a52;
/* rgb */ color: rgb(176, 42, 82);
/* oklch */ color: oklch(50.8% 0.171 8.4);
Tailwind
colors: {
  custom: {
    50: '#ce7082',
    500: '#b02a52',
    950: '#000000',
  },
}
SCSS
$custom: #b02a52;
$custom-light: #ce7082;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a52",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 342.09,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.1708,
    "h": 8.4
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#B02A52
secondary
#70C6AC
accent
#E5B443
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02A52

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

Preview Lab → · Contrast checker → · Palette generator →

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