#B02456#B02456

#B02456 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.177 H 5.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B02456
RGBrgb(176, 36, 86)
HSLhsl(339, 66%, 42%)
HSVhsv(339, 80%, 69%)
CMYKcmyk(0%, 79.5%, 51.1%, 31%)
CIE-LABlab(39.86, 57.69, 6.40)
CIE-LCHlch(39.86, 58.05, 6.33°)
OKLaboklab(50.46% 0.1764 0.0168)
OKLCHoklch(50.46% 0.177 5.4)
XYZxyz(20.2169, 11.1666, 9.8931)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02456 #24B07E
analogous
#B0249C #B02456 #B03824
triadic
#B02456 #56B024 #2456B0
tetradic
#B02456 #9CB024 #24B07E #3824B0
square
#B02456 #9CB024 #24B07E #3824B0
split-complementary
#B02456 #24B038 #249CB0
monochromatic
#4A0F24 #7D1A3D #B02456 #D73A72 #E16D97

Accessibility & contrast

On white

6.50
#B02456 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B02456 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02456
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02456#FFFFFF#000000##FFFFFF
##B024561.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C57
Deuteranopia (green-blind)
#6D6853
Tritanopia (blue-blind)
#C0003A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02456;
/* rgb */ color: rgb(176, 36, 86);
/* oklch */ color: oklch(50.5% 0.177 5.4);
Tailwind
colors: {
  custom: {
    50: '#ce6e85',
    500: '#b02456',
    950: '#000000',
  },
}
SCSS
$custom: #b02456;
$custom-light: #ce6e85;
$custom-dark: #000000;
JSON
{
  "hex": "#b02456",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 338.571,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.17721,
    "h": 5.4
  },
  "luminance": 0.11164
}

Semantic roles & 50–950 ramp

primary
#B02456
secondary
#68C8A6
accent
#E9AC3F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02456

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

Preview Lab → · Contrast checker → · Palette generator →

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