#BD228F#BD228F

#BD228F is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.7% C 0.213 H 343.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BD228F
RGBrgb(189, 34, 143)
HSLhsl(318, 70%, 44%)
HSVhsv(318, 82%, 74%)
CMYKcmyk(0%, 82%, 24.3%, 25.9%)
CIE-LABlab(44.16, 67.40, -22.36)
CIE-LCHlch(44.16, 71.01, 341.65°)
OKLaboklab(54.69% 0.204 -0.0598)
OKLCHoklch(54.69% 0.213 343.7)
XYZxyz(26.5173, 13.9490, 27.2772)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD228F #22BD50
analogous
#9D22BD #BD228F #BD2242
triadic
#BD228F #8FBD22 #228FBD
tetradic
#BD228F #BD9D22 #22BD50 #2242BD
square
#BD228F #BD9D22 #22BD50 #2242BD
split-complementary
#BD228F #42BD22 #22BD9D
monochromatic
#550F41 #891968 #BD228F #DD40AE #E673C4

Accessibility & contrast

On white

5.54
#BD228F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BD228F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD228F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD228F#FFFFFF#000000##FFFFFF
##BD228F1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375892
Deuteranopia (green-blind)
#68718C
Tritanopia (blue-blind)
#CA2158
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bd228f;
/* rgb */ color: rgb(189, 34, 143);
/* oklch */ color: oklch(54.7% 0.213 343.7);
Tailwind
colors: {
  custom: {
    50: '#d671b0',
    500: '#bd228f',
    950: '#000000',
  },
}
SCSS
$custom: #bd228f;
$custom-light: #d671b0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd228f",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 317.806,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54694,
    "c": 0.21261,
    "h": 343.7
  },
  "luminance": 0.13946
}

Semantic roles & 50–950 ramp

primary
#BD228F
secondary
#6ECD8A
accent
#EC703B
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BD228F

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

Preview Lab → · Contrast checker → · Palette generator →

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