#B3239F#B3239F

#B3239F is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.216 H 334.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B3239F
RGBrgb(179, 35, 159)
HSLhsl(308, 67%, 42%)
HSVhsv(308, 80%, 70%)
CMYKcmyk(0%, 80.4%, 11.2%, 29.8%)
CIE-LABlab(43.20, 67.10, -33.64)
CIE-LCHlch(43.20, 75.06, 333.37°)
OKLaboklab(53.92% 0.1958 -0.0921)
OKLCHoklch(53.92% 0.216 334.8)
XYZxyz(25.4498, 13.2913, 34.0193)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3239F #23B337
analogous
#7F23B3 #B3239F #B32357
triadic
#B3239F #9FB323 #239FB3
tetradic
#B3239F #B37F23 #23B337 #2357B3
square
#B3239F #B37F23 #23B337 #2357B3
split-complementary
#B3239F #57B323 #23B37F
monochromatic
#4D0F44 #801972 #B3239F #D93BC3 #E36ED2

Accessibility & contrast

On white

5.74
#B3239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B3239F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3239F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3239F#FFFFFF#000000##FFFFFF
##B3239F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A2
Deuteranopia (green-blind)
#596D9C
Tritanopia (blue-blind)
#BC3261
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3239f;
/* rgb */ color: rgb(179, 35, 159);
/* oklch */ color: oklch(53.9% 0.216 334.8);
Tailwind
colors: {
  custom: {
    50: '#ce70bc',
    500: '#b3239f',
    950: '#000000',
  },
}
SCSS
$custom: #b3239f;
$custom-light: #ce70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b3239f",
  "rgb": {
    "r": 179,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 308.333,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53918,
    "c": 0.21643,
    "h": 334.8
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#B3239F
secondary
#69C976
accent
#EA563E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B3239F

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

Preview Lab → · Contrast checker → · Palette generator →

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