#B5284F#B5284F

#B5284F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.177 H 10.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B5284F
RGBrgb(181, 40, 79)
HSLhsl(343, 64%, 43%)
HSVhsv(343, 78%, 71%)
CMYKcmyk(0%, 77.9%, 56.4%, 29%)
CIE-LABlab(41.07, 57.37, 12.67)
CIE-LCHlch(41.07, 58.75, 12.45°)
OKLaboklab(51.47% 0.1739 0.0319)
OKLCHoklch(51.47% 0.177 10.4)
XYZxyz(21.2282, 11.9089, 8.5765)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5284F #28B58E
analogous
#B52895 #B5284F #B54728
triadic
#B5284F #4FB528 #284FB5
tetradic
#B5284F #95B528 #28B58E #4728B5
square
#B5284F #95B528 #28B58E #4728B5
split-complementary
#B5284F #28B547 #2895B5
monochromatic
#511223 #831D39 #B5284F #D6446D #E17794

Accessibility & contrast

On white

6.21
#B5284F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B5284F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5284F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5284F#FFFFFF#000000##FFFFFF
##B5284F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F50
Deuteranopia (green-blind)
#736B4B
Tritanopia (blue-blind)
#C60039
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b5284f;
/* rgb */ color: rgb(181, 40, 79);
/* oklch */ color: oklch(51.5% 0.177 10.4);
Tailwind
colors: {
  custom: {
    50: '#d27080',
    500: '#b5284f',
    950: '#000000',
  },
}
SCSS
$custom: #b5284f;
$custom-light: #d27080;
$custom-dark: #000000;
JSON
{
  "hex": "#b5284f",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 343.404,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.17682,
    "h": 10.4
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#B5284F
secondary
#70C8B0
accent
#E7B941
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B5284F

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

Preview Lab → · Contrast checker → · Palette generator →

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