#B2285B#B2285B

#B2285B is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.176 H 4.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B2285B
RGBrgb(178, 40, 91)
HSLhsl(338, 63%, 43%)
HSVhsv(338, 78%, 70%)
CMYKcmyk(0%, 77.5%, 48.9%, 30.2%)
CIE-LABlab(40.80, 57.48, 4.63)
CIE-LCHlch(40.80, 57.67, 4.60°)
OKLaboklab(51.26% 0.176 0.0124)
OKLCHoklch(51.26% 0.176 4)
XYZxyz(21.0090, 11.7408, 11.0554)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2285B #28B27F
analogous
#B228A0 #B2285B #B23A28
triadic
#B2285B #5BB228 #285BB2
tetradic
#B2285B #A0B228 #28B27F #3A28B2
square
#B2285B #A0B228 #28B27F #3A28B2
split-complementary
#B2285B #28B23A #28A0B2
monochromatic
#4E1228 #801D41 #B2285B #D54379 #E0759C

Accessibility & contrast

On white

6.27
#B2285B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B2285B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2285B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2285B#FFFFFF#000000##FFFFFF
##B2285B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5C
Deuteranopia (green-blind)
#6F6A58
Tritanopia (blue-blind)
#C2013E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b2285b;
/* rgb */ color: rgb(178, 40, 91);
/* oklch */ color: oklch(51.3% 0.176 4.0);
Tailwind
colors: {
  custom: {
    50: '#cf7089',
    500: '#b2285b',
    950: '#000000',
  },
}
SCSS
$custom: #b2285b;
$custom-light: #cf7089;
$custom-dark: #000000;
JSON
{
  "hex": "#b2285b",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 337.826,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.17646,
    "h": 4
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#B2285B
secondary
#6FC7A6
accent
#E6A941
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B2285B

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

Preview Lab → · Contrast checker → · Palette generator →

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