#B02954#B02954

#B02954 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.172 H 7.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B02954
RGBrgb(176, 41, 84)
HSLhsl(341, 62%, 43%)
HSVhsv(341, 77%, 69%)
CMYKcmyk(0%, 76.7%, 52.3%, 31%)
CIE-LABlab(40.34, 56.02, 8.35)
CIE-LCHlch(40.34, 56.63, 8.48°)
OKLaboklab(50.8% 0.1708 0.0216)
OKLCHoklch(50.8% 0.172 7.2)
XYZxyz(20.2995, 11.4589, 9.5287)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02954 #29B085
analogous
#B02997 #B02954 #B04229
triadic
#B02954 #54B029 #2954B0
tetradic
#B02954 #97B029 #29B085 #4229B0
square
#B02954 #97B029 #29B085 #4229B0
split-complementary
#B02954 #29B042 #2997B0
monochromatic
#4D1225 #7E1D3C #B02954 #D34371 #DF7596

Accessibility & contrast

On white

6.38
#B02954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B02954 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02954
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02954#FFFFFF#000000##FFFFFF
##B029541.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E55
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#C0003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02954;
/* rgb */ color: rgb(176, 41, 84);
/* oklch */ color: oklch(50.8% 0.172 7.2);
Tailwind
colors: {
  custom: {
    50: '#ce7083',
    500: '#b02954',
    950: '#000000',
  },
}
SCSS
$custom: #b02954;
$custom-light: #ce7083;
$custom-dark: #000000;
JSON
{
  "hex": "#b02954",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 84
  },
  "hsl": {
    "h": 340.889,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50796,
    "c": 0.17214,
    "h": 7.2
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#B02954
secondary
#6FC6AA
accent
#E5B143
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02954

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

Preview Lab → · Contrast checker → · Palette generator →

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