#B0285A#B0285A

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

Color values

HEX#B0285A
RGBrgb(176, 40, 90)
HSLhsl(338, 63%, 42%)
HSVhsv(338, 77%, 69%)
CMYKcmyk(0%, 77.3%, 48.9%, 31%)
CIE-LABlab(40.39, 56.84, 4.62)
CIE-LCHlch(40.39, 57.02, 4.65°)
OKLaboklab(50.89% 0.174 0.0124)
OKLCHoklch(50.89% 0.174 4.1)
XYZxyz(20.5105, 11.4887, 10.8084)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0285A #28B07E
analogous
#B0289E #B0285A #B03A28
triadic
#B0285A #5AB028 #285AB0
tetradic
#B0285A #9EB028 #28B07E #3A28B0
square
#B0285A #9EB028 #28B07E #3A28B0
split-complementary
#B0285A #28B03A #289EB0
monochromatic
#4C1127 #7E1D41 #B0285A #D44177 #DF739B

Accessibility & contrast

On white

6.37
#B0285A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0285A
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0285A#FFFFFF#000000##FFFFFF
##B0285A1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#C0033E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b0285a;
/* rgb */ color: rgb(176, 40, 90);
/* oklch */ color: oklch(50.9% 0.174 4.1);
Tailwind
colors: {
  custom: {
    50: '#cd6f88',
    500: '#b0285a',
    950: '#000000',
  },
}
SCSS
$custom: #b0285a;
$custom-light: #cd6f88;
$custom-dark: #000000;
JSON
{
  "hex": "#b0285a",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 337.941,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.17446,
    "h": 4.1
  },
  "luminance": 0.11486
}

Semantic roles & 50–950 ramp

primary
#B0285A
secondary
#6DC6A6
accent
#E6AA42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B0285A

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

Preview Lab → · Contrast checker → · Palette generator →

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