#B02958#B02958

#B02958 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.173 H 5.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B02958
RGBrgb(176, 41, 88)
HSLhsl(339, 62%, 43%)
HSVhsv(339, 77%, 69%)
CMYKcmyk(0%, 76.7%, 50%, 31%)
CIE-LABlab(40.45, 56.35, 5.97)
CIE-LCHlch(40.45, 56.66, 6.05°)
OKLaboklab(50.91% 0.1723 0.0157)
OKLCHoklch(50.91% 0.173 5.2)
XYZxyz(20.4607, 11.5234, 10.3774)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02958 #29B081
analogous
#B0299C #B02958 #B03D29
triadic
#B02958 #58B029 #2958B0
tetradic
#B02958 #9CB029 #29B081 #3D29B0
square
#B02958 #9CB029 #29B081 #3D29B0
split-complementary
#B02958 #29B03D #299CB0
monochromatic
#4D1226 #7E1D3F #B02958 #D34375 #DF759A

Accessibility & contrast

On white

6.36
#B02958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02958
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02958#FFFFFF#000000##FFFFFF
##B029581.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E59
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#C0033D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02958;
/* rgb */ color: rgb(176, 41, 88);
/* oklch */ color: oklch(50.9% 0.173 5.2);
Tailwind
colors: {
  custom: {
    50: '#ce7086',
    500: '#b02958',
    950: '#000000',
  },
}
SCSS
$custom: #b02958;
$custom-light: #ce7086;
$custom-dark: #000000;
JSON
{
  "hex": "#b02958",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 339.111,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.173,
    "h": 5.2
  },
  "luminance": 0.11521
}

Semantic roles & 50–950 ramp

primary
#B02958
secondary
#6FC6A8
accent
#E5AD43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B02958

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

Preview Lab → · Contrast checker → · Palette generator →

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