#310125#310125

#310125 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.089 H 340.6°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#310125
RGBrgb(49, 1, 37)
HSLhsl(315, 96%, 10%)
HSVhsv(315, 98%, 19%)
CMYKcmyk(0%, 98%, 24.5%, 80.8%)
CIE-LABlab(7.30, 28.01, -10.97)
CIE-LCHlch(7.30, 30.08, 338.61°)
OKLaboklab(21.27% 0.0844 -0.0298)
OKLCHoklch(21.27% 0.089 340.6)
XYZxyz(1.6115, 0.8084, 1.8211)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310125 #01310D
analogous
#250131 #310125 #31010D
triadic
#310125 #253101 #012531
tetradic
#310125 #312501 #01310D #010D31
square
#310125 #312501 #01310D #010D31
split-complementary
#310125 #0D3101 #013125
monochromatic
#1E0117 #1E0117 #310125 #6D0252 #A90380

Accessibility & contrast

On white

18.08
#310125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310125 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310125
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310125#FFFFFF#000000##FFFFFF
##3101251.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041126
Deuteranopia (green-blind)
#151924
Tritanopia (blue-blind)
#350212
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310125;
/* rgb */ color: rgb(49, 1, 37);
/* oklch */ color: oklch(21.3% 0.089 340.6);
Tailwind
colors: {
  custom: {
    50: '#6c475f',
    500: '#310125',
    950: '#000000',
  },
}
SCSS
$custom: #310125;
$custom-light: #6c475f;
$custom-dark: #000000;
JSON
{
  "hex": "#310125",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 37
  },
  "hsl": {
    "h": 315,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21269,
    "c": 0.08949,
    "h": 340.6
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#310125
secondary
#17772F
accent
#FF5E29
background
#F6F4F5
surface
#ECE6E9
border
#C7C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #310125

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

Preview Lab → · Contrast checker → · Palette generator →

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