#B02252#B02252

#B02252 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.178 H 7.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B02252
RGBrgb(176, 34, 82)
HSLhsl(340, 68%, 41%)
HSVhsv(340, 81%, 69%)
CMYKcmyk(0%, 80.7%, 53.4%, 31%)
CIE-LABlab(39.56, 57.93, 8.51)
CIE-LCHlch(39.56, 58.55, 8.36°)
OKLaboklab(50.2% 0.1767 0.0219)
OKLCHoklch(50.2% 0.178 7.1)
XYZxyz(20.0014, 10.9862, 9.0484)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02252 #22B080
analogous
#B02299 #B02252 #B03922
triadic
#B02252 #52B022 #2252B0
tetradic
#B02252 #99B022 #22B080 #3922B0
square
#B02252 #99B022 #22B080 #3922B0
split-complementary
#B02252 #22B039 #2299B0
monochromatic
#490E22 #7D183A #B02252 #D8376D #E26A93

Accessibility & contrast

On white

6.57
#B02252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B02252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02252
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02252#FFFFFF#000000##FFFFFF
##B022521.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B53
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02252;
/* rgb */ color: rgb(176, 34, 82);
/* oklch */ color: oklch(50.2% 0.178 7.1);
Tailwind
colors: {
  custom: {
    50: '#ce6d82',
    500: '#b02252',
    950: '#000000',
  },
}
SCSS
$custom: #b02252;
$custom-light: #ce6d82;
$custom-dark: #000000;
JSON
{
  "hex": "#b02252",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 339.718,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50201,
    "c": 0.17808,
    "h": 7.1
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#B02252
secondary
#66C8A7
accent
#EAB03D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02252

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

Preview Lab → · Contrast checker → · Palette generator →

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