#B3255F#B3255F

#B3255F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.181 H 1.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B3255F
RGBrgb(179, 37, 95)
HSLhsl(335, 66%, 42%)
HSVhsv(335, 79%, 70%)
CMYKcmyk(0%, 79.3%, 46.9%, 29.8%)
CIE-LABlab(40.79, 59.00, 2.12)
CIE-LCHlch(40.79, 59.03, 2.06°)
OKLaboklab(51.33% 0.1811 0.0061)
OKLCHoklch(51.33% 0.181 1.9)
XYZxyz(21.3193, 11.7360, 11.9669)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3255F #25B379
analogous
#B325A6 #B3255F #B33225
triadic
#B3255F #5FB325 #255FB3
tetradic
#B3255F #A6B325 #25B379 #3225B3
square
#B3255F #A6B325 #25B379 #3225B3
split-complementary
#B3255F #25B332 #25A6B3
monochromatic
#4E1029 #801B44 #B3255F #D73E7D #E2719F

Accessibility & contrast

On white

6.28
#B3255F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B3255F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3255F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3255F#FFFFFF#000000##FFFFFF
##B3255F1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#6E6A5C
Tritanopia (blue-blind)
#C3003F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b3255f;
/* rgb */ color: rgb(179, 37, 95);
/* oklch */ color: oklch(51.3% 0.181 1.9);
Tailwind
colors: {
  custom: {
    50: '#d06f8c',
    500: '#b3255f',
    950: '#000000',
  },
}
SCSS
$custom: #b3255f;
$custom-light: #d06f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3255f",
  "rgb": {
    "r": 179,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 335.493,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.1812,
    "h": 1.9
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#B3255F
secondary
#6BC8A2
accent
#E9A33F
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B3255F

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

Preview Lab → · Contrast checker → · Palette generator →

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