#B2285C#B2285C

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

Color values

HEX#B2285C
RGBrgb(178, 40, 92)
HSLhsl(337, 63%, 43%)
HSVhsv(337, 78%, 70%)
CMYKcmyk(0%, 77.5%, 48.3%, 30.2%)
CIE-LABlab(40.83, 57.57, 4.04)
CIE-LCHlch(40.83, 57.71, 4.01°)
OKLaboklab(51.29% 0.1764 0.0109)
OKLCHoklch(51.29% 0.177 3.5)
XYZxyz(21.0524, 11.7581, 11.2841)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2285C #28B27E
analogous
#B228A1 #B2285C #B23928
triadic
#B2285C #5CB228 #285CB2
tetradic
#B2285C #A1B228 #28B27E #3928B2
square
#B2285C #A1B228 #28B27E #3928B2
split-complementary
#B2285C #28B239 #28A1B2
monochromatic
#4E1228 #801D42 #B2285C #D5437A #E0759D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2285C#FFFFFF#000000##FFFFFF
##B2285C1.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)
#4A4F5D
Deuteranopia (green-blind)
#6E6A59
Tritanopia (blue-blind)
#C2023F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b2285c;
/* rgb */ color: rgb(178, 40, 92);
/* oklch */ color: oklch(51.3% 0.177 3.5);
Tailwind
colors: {
  custom: {
    50: '#cf7089',
    500: '#b2285c',
    950: '#000000',
  },
}
SCSS
$custom: #b2285c;
$custom-light: #cf7089;
$custom-dark: #000000;
JSON
{
  "hex": "#b2285c",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 337.391,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.17672,
    "h": 3.5
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#B2285C
secondary
#6FC7A6
accent
#E6A841
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B2285C

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

Preview Lab → · Contrast checker → · Palette generator →

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