#B3238D#B3238D

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

Color values

HEX#B3238D
RGBrgb(179, 35, 141)
HSLhsl(316, 67%, 42%)
HSVhsv(316, 80%, 70%)
CMYKcmyk(0%, 80.4%, 21.2%, 29.8%)
CIE-LABlab(42.33, 64.63, -24.13)
CIE-LCHlch(42.33, 68.98, 339.53°)
OKLaboklab(53.01% 0.1942 -0.065)
OKLCHoklch(53.01% 0.205 341.5)
XYZxyz(24.0000, 12.7114, 26.3838)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3238D #23B349
analogous
#9123B3 #B3238D #B32345
triadic
#B3238D #8DB323 #238DB3
tetradic
#B3238D #B39123 #23B349 #2345B3
square
#B3238D #B39123 #23B349 #2345B3
split-complementary
#B3238D #45B323 #23B391
monochromatic
#4D0F3C #801965 #B3238D #D93BAF #E36EC4

Accessibility & contrast

On white

5.93
#B3238D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3238D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3238D#FFFFFF#000000##FFFFFF
##B3238D1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325590
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#BE2657
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3238d;
/* rgb */ color: rgb(179, 35, 141);
/* oklch */ color: oklch(53.0% 0.205 341.5);
Tailwind
colors: {
  custom: {
    50: '#ce70ae',
    500: '#b3238d',
    950: '#000000',
  },
}
SCSS
$custom: #b3238d;
$custom-light: #ce70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3238d",
  "rgb": {
    "r": 179,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 315.833,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.20478,
    "h": 341.5
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#B3238D
secondary
#69C982
accent
#EA6B3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3238D

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

Preview Lab → · Contrast checker → · Palette generator →

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