#B2308B#B2308B

#B2308B is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.190 H 342.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B2308B
RGBrgb(178, 48, 139)
HSLhsl(318, 58%, 44%)
HSVhsv(318, 73%, 70%)
CMYKcmyk(0%, 73%, 21.9%, 30.2%)
CIE-LABlab(43.43, 60.22, -21.22)
CIE-LCHlch(43.43, 63.85, 340.59°)
OKLaboklab(53.74% 0.181 -0.0569)
OKLCHoklch(53.74% 0.19 342.6)
XYZxyz(24.0781, 13.4454, 25.7483)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2308B #30B257
analogous
#9830B2 #B2308B #B2304A
triadic
#B2308B #8BB230 #308BB2
tetradic
#B2308B #B29830 #30B257 #304AB2
square
#B2308B #B29830 #30B257 #304AB2
split-complementary
#B2308B #4AB230 #30B298
monochromatic
#521640 #822365 #B2308B #D050A9 #DD80C1

Accessibility & contrast

On white

5.69
#B2308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B2308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2308B
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2308B#FFFFFF#000000##FFFFFF
##B2308B1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598E
Deuteranopia (green-blind)
#656E88
Tritanopia (blue-blind)
#BD3159
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b2308b;
/* rgb */ color: rgb(178, 48, 139);
/* oklch */ color: oklch(53.7% 0.190 342.6);
Tailwind
colors: {
  custom: {
    50: '#cd74ad',
    500: '#b2308b',
    950: '#000000',
  },
}
SCSS
$custom: #b2308b;
$custom-light: #cd74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b2308b",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 318,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.18974,
    "h": 342.6
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

primary
#B2308B
secondary
#78C68F
accent
#E17547
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B2308B

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

Preview Lab → · Contrast checker → · Palette generator →

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