#B02957#B02957

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

Color values

HEX#B02957
RGBrgb(176, 41, 87)
HSLhsl(340, 62%, 43%)
HSVhsv(340, 77%, 69%)
CMYKcmyk(0%, 76.7%, 50.6%, 31%)
CIE-LABlab(40.42, 56.26, 6.56)
CIE-LCHlch(40.42, 56.65, 6.65°)
OKLaboklab(50.88% 0.1719 0.0172)
OKLCHoklch(50.88% 0.173 5.7)
XYZxyz(20.4195, 11.5069, 10.1608)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02957 #29B082
analogous
#B0299A #B02957 #B03F29
triadic
#B02957 #57B029 #2957B0
tetradic
#B02957 #9AB029 #29B082 #3F29B0
square
#B02957 #9AB029 #29B082 #3F29B0
split-complementary
#B02957 #29B03F #299AB0
monochromatic
#4D1226 #7E1D3E #B02957 #D34374 #DF7599

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02957#FFFFFF#000000##FFFFFF
##B029571.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)
#4B4E58
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#C0023D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02957;
/* rgb */ color: rgb(176, 41, 87);
/* oklch */ color: oklch(50.9% 0.173 5.7);
Tailwind
colors: {
  custom: {
    50: '#ce7086',
    500: '#b02957',
    950: '#000000',
  },
}
SCSS
$custom: #b02957;
$custom-light: #ce7086;
$custom-dark: #000000;
JSON
{
  "hex": "#b02957",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 339.556,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5088,
    "c": 0.17277,
    "h": 5.7
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02957

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

Preview Lab → · Contrast checker → · Palette generator →

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