#B0254F#B0254F

#B0254F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.175 H 9.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B0254F
RGBrgb(176, 37, 79)
HSLhsl(342, 65%, 42%)
HSVhsv(342, 79%, 69%)
CMYKcmyk(0%, 79%, 55.1%, 31%)
CIE-LABlab(39.78, 56.85, 10.73)
CIE-LCHlch(39.78, 57.85, 10.69°)
OKLaboklab(50.34% 0.1728 0.0273)
OKLCHoklch(50.34% 0.175 9)
XYZxyz(19.9793, 11.1206, 8.4901)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0254F #25B086
analogous
#B02594 #B0254F #B04125
triadic
#B0254F #4FB025 #254FB0
tetradic
#B0254F #94B025 #25B086 #4125B0
square
#B0254F #94B025 #25B086 #4125B0
split-complementary
#B0254F #25B041 #2594B0
monochromatic
#4B1022 #7D1A38 #B0254F #D63C6B #E16F91

Accessibility & contrast

On white

6.51
#B0254F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B0254F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0254F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0254F#FFFFFF#000000##FFFFFF
##B0254F1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C50
Deuteranopia (green-blind)
#6F684C
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b0254f;
/* rgb */ color: rgb(176, 37, 79);
/* oklch */ color: oklch(50.3% 0.175 9.0);
Tailwind
colors: {
  custom: {
    50: '#ce6e80',
    500: '#b0254f',
    950: '#000000',
  },
}
SCSS
$custom: #b0254f;
$custom-light: #ce6e80;
$custom-dark: #000000;
JSON
{
  "hex": "#b0254f",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 341.871,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.17497,
    "h": 9
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#B0254F
secondary
#6AC7AB
accent
#E8B540
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B0254F

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

Preview Lab → · Contrast checker → · Palette generator →

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