#B2285A#B2285A

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

Color values

HEX#B2285A
RGBrgb(178, 40, 90)
HSLhsl(338, 63%, 43%)
HSVhsv(338, 78%, 70%)
CMYKcmyk(0%, 77.5%, 49.4%, 30.2%)
CIE-LABlab(40.77, 57.40, 5.22)
CIE-LCHlch(40.77, 57.63, 5.20°)
OKLaboklab(51.24% 0.1757 0.0139)
OKLCHoklch(51.24% 0.176 4.5)
XYZxyz(20.9662, 11.7236, 10.8297)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2285A #28B280
analogous
#B2289F #B2285A #B23B28
triadic
#B2285A #5AB228 #285AB2
tetradic
#B2285A #9FB228 #28B280 #3B28B2
square
#B2285A #9FB228 #28B280 #3B28B2
split-complementary
#B2285A #28B23B #289FB2
monochromatic
#4E1227 #801D41 #B2285A #D54377 #E0759B

Accessibility & contrast

On white

6.28
#B2285A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B2285A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2285A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2285A#FFFFFF#000000##FFFFFF
##B2285A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5B
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#C2003E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b2285a;
/* rgb */ color: rgb(178, 40, 90);
/* oklch */ color: oklch(51.2% 0.176 4.5);
Tailwind
colors: {
  custom: {
    50: '#cf7088',
    500: '#b2285a',
    950: '#000000',
  },
}
SCSS
$custom: #b2285a;
$custom-light: #cf7088;
$custom-dark: #000000;
JSON
{
  "hex": "#b2285a",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 338.261,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.17621,
    "h": 4.5
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#B2285A
secondary
#6FC7A7
accent
#E6AB41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B2285A

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

Preview Lab → · Contrast checker → · Palette generator →

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