#5A0F25#5A0F25

#5A0F25 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.107 H 9.2°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#5A0F25
RGBrgb(90, 15, 37)
HSLhsl(342, 71%, 21%)
HSVhsv(342, 83%, 35%)
CMYKcmyk(0%, 83.3%, 58.9%, 64.7%)
CIE-LABlab(18.58, 34.74, 6.74)
CIE-LCHlch(18.58, 35.39, 10.98°)
OKLaboklab(31.19% 0.1056 0.0171)
OKLCHoklch(31.19% 0.107 9.2)
XYZxyz(4.7217, 2.6496, 2.0127)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F25 #0F5A44
analogous
#5A0F4A #5A0F25 #5A1E0F
triadic
#5A0F25 #255A0F #0F255A
tetradic
#5A0F25 #4A5A0F #0F5A44 #1E0F5A
square
#5A0F25 #4A5A0F #0F5A44 #1E0F5A
split-complementary
#5A0F25 #0F5A1E #0F4A5A
monochromatic
#1A040B #26060F #5A0F25 #8E183B #C32050

Accessibility & contrast

On white

13.73
#5A0F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5A0F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F25
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F25#FFFFFF#000000##FFFFFF
##5A0F251.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232425
Deuteranopia (green-blind)
#363323
Tritanopia (blue-blind)
#630018
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0f25;
/* rgb */ color: rgb(90, 15, 37);
/* oklch */ color: oklch(31.2% 0.107 9.2);
Tailwind
colors: {
  custom: {
    50: '#8e565f',
    500: '#5a0f25',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f25;
$custom-light: #8e565f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f25",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 37
  },
  "hsl": {
    "h": 342.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31188,
    "c": 0.10696,
    "h": 9.2
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#5A0F25
secondary
#319477
accent
#EEB93A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A0F25

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

Preview Lab → · Contrast checker → · Palette generator →

#5A0F25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva