#B3238A#B3238A

#B3238A is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.9% C 0.203 H 342.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B3238A
RGBrgb(179, 35, 138)
HSLhsl(317, 67%, 42%)
HSVhsv(317, 80%, 70%)
CMYKcmyk(0%, 80.4%, 22.9%, 29.8%)
CIE-LABlab(42.19, 64.24, -22.51)
CIE-LCHlch(42.19, 68.07, 340.69°)
OKLaboklab(52.86% 0.1938 -0.0604)
OKLCHoklch(52.86% 0.203 342.7)
XYZxyz(23.7798, 12.6233, 25.2241)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3238A #23B34C
analogous
#9423B3 #B3238A #B32342
triadic
#B3238A #8AB323 #238AB3
tetradic
#B3238A #B39423 #23B34C #2342B3
square
#B3238A #B39423 #23B34C #2342B3
split-complementary
#B3238A #42B323 #23B394
monochromatic
#4D0F3B #801963 #B3238A #D93BAC #E36EC1

Accessibility & contrast

On white

5.96
#B3238A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B3238A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3238A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3238A#FFFFFF#000000##FFFFFF
##B3238A1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#BF2455
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3238a;
/* rgb */ color: rgb(179, 35, 138);
/* oklch */ color: oklch(52.9% 0.203 342.7);
Tailwind
colors: {
  custom: {
    50: '#ce70ac',
    500: '#b3238a',
    950: '#000000',
  },
}
SCSS
$custom: #b3238a;
$custom-light: #ce70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b3238a",
  "rgb": {
    "r": 179,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 317.083,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52865,
    "c": 0.20296,
    "h": 342.7
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#B3238A
secondary
#69C984
accent
#EA6F3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3238A

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

Preview Lab → · Contrast checker → · Palette generator →

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