#B0285F#B0285F

#B0285F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.176 H 1.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B0285F
RGBrgb(176, 40, 95)
HSLhsl(336, 63%, 42%)
HSVhsv(336, 77%, 69%)
CMYKcmyk(0%, 77.3%, 46%, 31%)
CIE-LABlab(40.54, 57.29, 1.67)
CIE-LCHlch(40.54, 57.31, 1.67°)
OKLaboklab(51.04% 0.1758 0.0049)
OKLCHoklch(51.04% 0.176 1.6)
XYZxyz(20.7305, 11.5767, 11.9671)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0285F #28B079
analogous
#B028A3 #B0285F #B03528
triadic
#B0285F #5FB028 #285FB0
tetradic
#B0285F #A3B028 #28B079 #3528B0
square
#B0285F #A3B028 #28B079 #3528B0
split-complementary
#B0285F #28B035 #28A3B0
monochromatic
#4C1129 #7E1D44 #B0285F #D4417D #DF739F

Accessibility & contrast

On white

6.34
#B0285F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B0285F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0285F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0285F#FFFFFF#000000##FFFFFF
##B0285F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#BF0940
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b0285f;
/* rgb */ color: rgb(176, 40, 95);
/* oklch */ color: oklch(51.0% 0.176 1.6);
Tailwind
colors: {
  custom: {
    50: '#cd6f8c',
    500: '#b0285f',
    950: '#000000',
  },
}
SCSS
$custom: #b0285f;
$custom-light: #cd6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0285f",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 335.735,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.17587,
    "h": 1.6
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#B0285F
secondary
#6DC6A2
accent
#E6A442
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B0285F

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

Preview Lab → · Contrast checker → · Palette generator →

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