#310425#310425

#310425 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.084 H 341.1°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#310425
RGBrgb(49, 4, 37)
HSLhsl(316, 85%, 10%)
HSVhsv(316, 92%, 19%)
CMYKcmyk(0%, 91.8%, 24.5%, 80.8%)
CIE-LABlab(7.89, 26.33, -10.06)
CIE-LCHlch(7.89, 28.19, 339.10°)
OKLaboklab(21.71% 0.079 -0.0271)
OKLCHoklch(21.71% 0.084 341.1)
XYZxyz(1.6440, 0.8735, 1.8319)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310425 #043110
analogous
#260431 #310425 #31040E
triadic
#310425 #253104 #042531
tetradic
#310425 #312604 #043110 #040E31
square
#310425 #312604 #043110 #040E31
split-complementary
#310425 #0E3104 #043126
monochromatic
#1C0215 #1C0215 #310425 #6A0950 #A20D7A

Accessibility & contrast

On white

17.88
#310425 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310425 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310425
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310425#FFFFFF#000000##FFFFFF
##3104251.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071326
Deuteranopia (green-blind)
#161A24
Tritanopia (blue-blind)
#350513
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310425;
/* rgb */ color: rgb(49, 4, 37);
/* oklch */ color: oklch(21.7% 0.084 341.1);
Tailwind
colors: {
  custom: {
    50: '#6b495f',
    500: '#310425',
    950: '#000000',
  },
}
SCSS
$custom: #310425;
$custom-light: #6b495f;
$custom-dark: #000000;
JSON
{
  "hex": "#310425",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 37
  },
  "hsl": {
    "h": 316,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21706,
    "c": 0.08352,
    "h": 341.1
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#310425
secondary
#1D7334
accent
#FB642D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310425

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

Preview Lab → · Contrast checker → · Palette generator →

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