#25041F#25041F

#25041F is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.9% C 0.070 H 336.0°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#25041F
RGBrgb(37, 4, 31)
HSLhsl(311, 80%, 8%)
HSVhsv(311, 89%, 15%)
CMYKcmyk(0%, 89.2%, 16.2%, 85.5%)
CIE-LABlab(5.23, 19.97, -9.71)
CIE-LCHlch(5.23, 22.21, 334.07°)
OKLaboklab(18.88% 0.0636 -0.0284)
OKLCHoklch(18.88% 0.07 336)
XYZxyz(1.0537, 0.5792, 1.3524)
Luminance0.0058 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25041F #04250A
analogous
#1A0425 #25041F #25040E
triadic
#25041F #1F2504 #041F25
tetradic
#25041F #251A04 #04250A #040E25
square
#25041F #251A04 #04250A #040E25
split-complementary
#25041F #0E2504 #04251A
monochromatic
#1C0317 #1C0317 #25041F #5C0A4D #93107C

Accessibility & contrast

On white

18.82
#25041F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#25041F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25041F
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25041F#FFFFFF#000000##FFFFFF
##25041F1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040E20
Deuteranopia (green-blind)
#0F131E
Tritanopia (blue-blind)
#270610
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #25041f;
/* rgb */ color: rgb(37, 4, 31);
/* oklch */ color: oklch(18.9% 0.070 336.0);
Tailwind
colors: {
  custom: {
    50: '#60485a',
    500: '#25041f',
    950: '#000000',
  },
}
SCSS
$custom: #25041f;
$custom-light: #60485a;
$custom-dark: #000000;
JSON
{
  "hex": "#25041f",
  "rgb": {
    "r": 37,
    "g": 4,
    "b": 31
  },
  "hsl": {
    "h": 310.909,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18879,
    "c": 0.06962,
    "h": 336
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#25041F
secondary
#1D682B
accent
#F75531
background
#F5F4F5
surface
#EAE6E9
border
#C6C2C5
text
#050003
muted
#797778

Preview Lab

Preview with #25041F

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

Preview Lab → · Contrast checker → · Palette generator →

#25041F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva