#B02A5A#B02A5A

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

Color values

HEX#B02A5A
RGBrgb(176, 42, 90)
HSLhsl(339, 61%, 43%)
HSVhsv(339, 76%, 69%)
CMYKcmyk(0%, 76.1%, 48.9%, 31%)
CIE-LABlab(40.62, 56.20, 4.95)
CIE-LCHlch(40.62, 56.42, 5.03°)
OKLaboklab(51.05% 0.172 0.0132)
OKLCHoklch(51.05% 0.172 4.4)
XYZxyz(20.5797, 11.6270, 10.8314)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A5A #2AB080
analogous
#B02A9D #B02A5A #B03D2A
triadic
#B02A5A #5AB02A #2A5AB0
tetradic
#B02A5A #9DB02A #2AB080 #3D2AB0
square
#B02A5A #9DB02A #2AB080 #3D2AB0
split-complementary
#B02A5A #2AB03D #2A9DB0
monochromatic
#4D1227 #7F1E41 #B02A5A #D34577 #DE769B

Accessibility & contrast

On white

6.32
#B02A5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B02A5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A5A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A5A#FFFFFF#000000##FFFFFF
##B02A5A1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F5B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#C0093F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02a5a;
/* rgb */ color: rgb(176, 42, 90);
/* oklch */ color: oklch(51.1% 0.172 4.4);
Tailwind
colors: {
  custom: {
    50: '#cd7088',
    500: '#b02a5a',
    950: '#000000',
  },
}
SCSS
$custom: #b02a5a;
$custom-light: #cd7088;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a5a",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 338.507,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51051,
    "c": 0.17249,
    "h": 4.4
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#B02A5A
secondary
#70C6A7
accent
#E5AB43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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