#25071F#25071F

#25071F is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.4% C 0.063 H 336.4°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#25071F
RGBrgb(37, 7, 31)
HSLhsl(312, 68%, 9%)
HSVhsv(312, 81%, 15%)
CMYKcmyk(0%, 81.1%, 16.2%, 85.5%)
CIE-LABlab(5.82, 18.58, -8.82)
CIE-LCHlch(5.82, 20.56, 334.60°)
OKLaboklab(19.43% 0.0573 -0.025)
OKLCHoklch(19.43% 0.063 336.4)
XYZxyz(1.0863, 0.6443, 1.3632)
Luminance0.0064 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25071F #07250D
analogous
#1C0725 #25071F #250710
triadic
#25071F #1F2507 #071F25
tetradic
#25071F #251C07 #07250D #071025
square
#25071F #251C07 #07250D #071025
split-complementary
#25071F #102507 #07251C
monochromatic
#1A0516 #1A0516 #25071F #58114A #8C1A75

Accessibility & contrast

On white

18.60
#25071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#25071F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25071F
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25071F#FFFFFF#000000##FFFFFF
##25071F1.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071020
Deuteranopia (green-blind)
#11151E
Tritanopia (blue-blind)
#270811
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #25071f;
/* rgb */ color: rgb(37, 7, 31);
/* oklch */ color: oklch(19.4% 0.063 336.4);
Tailwind
colors: {
  custom: {
    50: '#60495a',
    500: '#25071f',
    950: '#000000',
  },
}
SCSS
$custom: #25071f;
$custom-light: #60495a;
$custom-dark: #000000;
JSON
{
  "hex": "#25071f",
  "rgb": {
    "r": 37,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 312,
    "s": 68.182,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19426,
    "c": 0.06255,
    "h": 336.4
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#25071F
secondary
#236430
accent
#EB603D
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050103
muted
#797778

Preview Lab

Preview with #25071F

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

Preview Lab → · Contrast checker → · Palette generator →

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