#B02F58#B02F58

#B02F58 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.4% C 0.167 H 6.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B02F58
RGBrgb(176, 47, 88)
HSLhsl(341, 58%, 44%)
HSVhsv(341, 73%, 69%)
CMYKcmyk(0%, 73.3%, 50%, 31%)
CIE-LABlab(41.17, 54.33, 6.99)
CIE-LCHlch(41.17, 54.78, 7.33°)
OKLaboklab(51.44% 0.1658 0.0183)
OKLCHoklch(51.44% 0.167 6.3)
XYZxyz(20.6842, 11.9705, 10.4520)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F58 #2FB087
analogous
#B02F98 #B02F58 #B0462F
triadic
#B02F58 #58B02F #2F58B0
tetradic
#B02F58 #98B02F #2FB087 #462FB0
square
#B02F58 #98B02F #2FB087 #462FB0
split-complementary
#B02F58 #2FB046 #2F98B0
monochromatic
#4F1528 #802240 #B02F58 #CF4D76 #DC7D9B

Accessibility & contrast

On white

6.19
#B02F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B02F58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F58
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F58#FFFFFF#000000##FFFFFF
##B02F581.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5159
Deuteranopia (green-blind)
#706A55
Tritanopia (blue-blind)
#C01440
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02f58;
/* rgb */ color: rgb(176, 47, 88);
/* oklch */ color: oklch(51.4% 0.167 6.3);
Tailwind
colors: {
  custom: {
    50: '#cd7286',
    500: '#b02f58',
    950: '#000000',
  },
}
SCSS
$custom: #b02f58;
$custom-light: #cd7286;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f58",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 340.93,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5144,
    "c": 0.16679,
    "h": 6.3
  },
  "luminance": 0.11968
}

Semantic roles & 50–950 ramp

primary
#B02F58
secondary
#76C5AC
accent
#E1B047
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B02F58

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

Preview Lab → · Contrast checker → · Palette generator →

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