#B3238F#B3238F

#B3238F is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.1% C 0.206 H 340.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B3238F
RGBrgb(179, 35, 143)
HSLhsl(315, 67%, 42%)
HSVhsv(315, 80%, 70%)
CMYKcmyk(0%, 80.4%, 20.1%, 29.8%)
CIE-LABlab(42.42, 64.89, -25.20)
CIE-LCHlch(42.42, 69.61, 338.77°)
OKLaboklab(53.1% 0.1945 -0.068)
OKLCHoklch(53.1% 0.206 340.7)
XYZxyz(24.1501, 12.7715, 27.1746)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3238F #23B347
analogous
#8F23B3 #B3238F #B32347
triadic
#B3238F #8FB323 #238FB3
tetradic
#B3238F #B38F23 #23B347 #2347B3
square
#B3238F #B38F23 #23B347 #2347B3
split-complementary
#B3238F #47B323 #23B38F
monochromatic
#4D0F3D #801966 #B3238F #D93BB1 #E36EC5

Accessibility & contrast

On white

5.91
#B3238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B3238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3238F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3238F#FFFFFF#000000##FFFFFF
##B3238F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305692
Deuteranopia (green-blind)
#606C8C
Tritanopia (blue-blind)
#BE2858
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3238f;
/* rgb */ color: rgb(179, 35, 143);
/* oklch */ color: oklch(53.1% 0.206 340.7);
Tailwind
colors: {
  custom: {
    50: '#ce70b0',
    500: '#b3238f',
    950: '#000000',
  },
}
SCSS
$custom: #b3238f;
$custom-light: #ce70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b3238f",
  "rgb": {
    "r": 179,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 315,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.20601,
    "h": 340.7
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#B3238F
secondary
#69C981
accent
#EA693E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3238F

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

Preview Lab → · Contrast checker → · Palette generator →

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