#B7255C#B7255C

#B7255C is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.184 H 4.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B7255C
RGBrgb(183, 37, 92)
HSLhsl(337, 66%, 43%)
HSVhsv(337, 80%, 72%)
CMYKcmyk(0%, 79.8%, 49.7%, 28.2%)
CIE-LABlab(41.48, 59.81, 5.10)
CIE-LCHlch(41.48, 60.03, 4.87°)
OKLaboklab(51.94% 0.1832 0.0136)
OKLCHoklch(51.94% 0.184 4.2)
XYZxyz(22.1237, 12.1662, 11.3065)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7255C #25B780
analogous
#B725A5 #B7255C #B73725
triadic
#B7255C #5CB725 #255CB7
tetradic
#B7255C #A5B725 #25B780 #3725B7
square
#B7255C #A5B725 #25B780 #3725B7
split-complementary
#B7255C #25B737 #25A5B7
monochromatic
#511029 #841B42 #B7255C #D9417A #E3749D

Accessibility & contrast

On white

6.12
#B7255C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B7255C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7255C
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7255C#FFFFFF#000000##FFFFFF
##B7255C1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505D
Deuteranopia (green-blind)
#716C59
Tritanopia (blue-blind)
#C7003E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b7255c;
/* rgb */ color: rgb(183, 37, 92);
/* oklch */ color: oklch(51.9% 0.184 4.2);
Tailwind
colors: {
  custom: {
    50: '#d36f89',
    500: '#b7255c',
    950: '#000000',
  },
}
SCSS
$custom: #b7255c;
$custom-light: #d36f89;
$custom-dark: #000000;
JSON
{
  "hex": "#b7255c",
  "rgb": {
    "r": 183,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 337.397,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.1837,
    "h": 4.2
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#B7255C
secondary
#6ECAA7
accent
#E9A93F
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B7255C

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

Preview Lab → · Contrast checker → · Palette generator →

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