#B2308F#B2308F

#B2308F is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.192 H 340.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B2308F
RGBrgb(178, 48, 143)
HSLhsl(316, 58%, 44%)
HSVhsv(316, 73%, 70%)
CMYKcmyk(0%, 73%, 19.7%, 30.2%)
CIE-LABlab(43.60, 60.77, -23.38)
CIE-LCHlch(43.60, 65.11, 338.96°)
OKLaboklab(53.93% 0.1817 -0.063)
OKLCHoklch(53.93% 0.192 340.9)
XYZxyz(24.3757, 13.5645, 27.3157)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2308F #30B253
analogous
#9430B2 #B2308F #B2304E
triadic
#B2308F #8FB230 #308FB2
tetradic
#B2308F #B29430 #30B253 #304EB2
square
#B2308F #B29430 #30B253 #304EB2
split-complementary
#B2308F #4EB230 #30B294
monochromatic
#521642 #822368 #B2308F #D050AD #DD80C4

Accessibility & contrast

On white

5.66
#B2308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B2308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2308F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2308F#FFFFFF#000000##FFFFFF
##B2308F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A92
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#BD335C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b2308f;
/* rgb */ color: rgb(178, 48, 143);
/* oklch */ color: oklch(53.9% 0.192 340.9);
Tailwind
colors: {
  custom: {
    50: '#cd75b0',
    500: '#b2308f',
    950: '#000000',
  },
}
SCSS
$custom: #b2308f;
$custom-light: #cd75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2308f",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 316.154,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53926,
    "c": 0.19229,
    "h": 340.9
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#B2308F
secondary
#78C68D
accent
#E17047
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B2308F

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

Preview Lab → · Contrast checker → · Palette generator →

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