#B3238C#B3238C

#B3238C is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.204 H 341.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B3238C
RGBrgb(179, 35, 140)
HSLhsl(316, 67%, 42%)
HSVhsv(316, 80%, 70%)
CMYKcmyk(0%, 80.4%, 21.8%, 29.8%)
CIE-LABlab(42.28, 64.50, -23.59)
CIE-LCHlch(42.28, 68.68, 339.91°)
OKLaboklab(52.96% 0.1941 -0.0634)
OKLCHoklch(52.96% 0.204 341.9)
XYZxyz(23.9259, 12.6818, 25.9937)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3238C #23B34A
analogous
#9223B3 #B3238C #B32344
triadic
#B3238C #8CB323 #238CB3
tetradic
#B3238C #B39223 #23B34A #2344B3
square
#B3238C #B39223 #23B34A #2344B3
split-complementary
#B3238C #44B323 #23B392
monochromatic
#4D0F3C #801964 #B3238C #D93BAE #E36EC3

Accessibility & contrast

On white

5.94
#B3238C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B3238C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3238C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3238C#FFFFFF#000000##FFFFFF
##B3238C1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558F
Deuteranopia (green-blind)
#616C89
Tritanopia (blue-blind)
#BE2656
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3238c;
/* rgb */ color: rgb(179, 35, 140);
/* oklch */ color: oklch(53.0% 0.204 341.9);
Tailwind
colors: {
  custom: {
    50: '#ce70ae',
    500: '#b3238c',
    950: '#000000',
  },
}
SCSS
$custom: #b3238c;
$custom-light: #ce70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3238c",
  "rgb": {
    "r": 179,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 316.25,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.20417,
    "h": 341.9
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

primary
#B3238C
secondary
#69C983
accent
#EA6C3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3238C

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

Preview Lab → · Contrast checker → · Palette generator →

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