#B0238C#B0238C

#B0238C is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.5% C 0.202 H 341.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B0238C
RGBrgb(176, 35, 140)
HSLhsl(315, 67%, 41%)
HSVhsv(315, 80%, 69%)
CMYKcmyk(0%, 80.1%, 20.5%, 31%)
CIE-LABlab(41.73, 63.81, -24.48)
CIE-LCHlch(41.73, 68.34, 339.01°)
OKLaboklab(52.46% 0.1914 -0.066)
OKLCHoklch(52.46% 0.202 341)
XYZxyz(23.2399, 12.3280, 25.9615)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0238C #23B047
analogous
#8E23B0 #B0238C #B02346
triadic
#B0238C #8CB023 #238CB0
tetradic
#B0238C #B08E23 #23B047 #2346B0
square
#B0238C #B08E23 #23B047 #2346B0
split-complementary
#B0238C #46B023 #23B08E
monochromatic
#4A0F3B #7D1963 #B0238C #D839AF #E26CC4

Accessibility & contrast

On white

6.06
#B0238C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B0238C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0238C
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0238C#FFFFFF#000000##FFFFFF
##B0238C1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#5F6A89
Tritanopia (blue-blind)
#BB2756
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0238c;
/* rgb */ color: rgb(176, 35, 140);
/* oklch */ color: oklch(52.5% 0.202 341.0);
Tailwind
colors: {
  custom: {
    50: '#cc6fae',
    500: '#b0238c',
    950: '#000000',
  },
}
SCSS
$custom: #b0238c;
$custom-light: #cc6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#b0238c",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 315.319,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52464,
    "c": 0.20243,
    "h": 341
  },
  "luminance": 0.12326
}

Semantic roles & 50–950 ramp

primary
#B0238C
secondary
#67C880
accent
#EA6A3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B0238C

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

Preview Lab → · Contrast checker → · Palette generator →

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