#BD228B#BD228B

#BD228B is a mid, highly saturated pink. Relative luminance 0.138; OKLCH L 54.5% C 0.210 H 345.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BD228B
RGBrgb(189, 34, 139)
HSLhsl(319, 70%, 44%)
HSVhsv(319, 82%, 74%)
CMYKcmyk(0%, 82%, 26.5%, 25.9%)
CIE-LABlab(43.99, 66.92, -20.19)
CIE-LCHlch(43.99, 69.90, 343.21°)
OKLaboklab(54.51% 0.2034 -0.0537)
OKLCHoklch(54.51% 0.21 345.2)
XYZxyz(26.2197, 13.8299, 25.7098)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD228B #22BD54
analogous
#A122BD #BD228B #BD223D
triadic
#BD228B #8BBD22 #228BBD
tetradic
#BD228B #BDA122 #22BD54 #223DBD
square
#BD228B #BDA122 #22BD54 #223DBD
split-complementary
#BD228B #3DBD22 #22BDA1
monochromatic
#550F3F #891965 #BD228B #DD40AA #E673C1

Accessibility & contrast

On white

5.58
#BD228B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BD228B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD228B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD228B#FFFFFF#000000##FFFFFF
##BD228B1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588E
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#CA1E55
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bd228b;
/* rgb */ color: rgb(189, 34, 139);
/* oklch */ color: oklch(54.5% 0.210 345.2);
Tailwind
colors: {
  custom: {
    50: '#d671ad',
    500: '#bd228b',
    950: '#000000',
  },
}
SCSS
$custom: #bd228b;
$custom-light: #d671ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bd228b",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 319.355,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.21034,
    "h": 345.2
  },
  "luminance": 0.13827
}

Semantic roles & 50–950 ramp

primary
#BD228B
secondary
#6ECD8D
accent
#EC753B
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BD228B

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

Preview Lab → · Contrast checker → · Palette generator →

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