#631128#631128

#631128 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.115 H 10.2°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#631128
RGBrgb(99, 17, 40)
HSLhsl(343, 71%, 23%)
HSVhsv(343, 83%, 39%)
CMYKcmyk(0%, 82.8%, 59.6%, 61.2%)
CIE-LABlab(20.86, 37.18, 8.06)
CIE-LCHlch(20.86, 38.05, 12.24°)
OKLaboklab(33.24% 0.1128 0.0203)
OKLCHoklch(33.24% 0.115 10.2)
XYZxyz(5.7296, 3.2076, 2.3245)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631128 #11634C
analogous
#631151 #631128 #632311
triadic
#631128 #286311 #112863
tetradic
#631128 #516311 #11634C #231163
square
#631128 #516311 #11634C #231163
split-complementary
#631128 #116323 #115163
monochromatic
#1A040B #2F0813 #631128 #971A3D #CB2352

Accessibility & contrast

On white

12.79
#631128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#631128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631128
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631128#FFFFFF#000000##FFFFFF
##6311281.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272828
Deuteranopia (green-blind)
#3C3826
Tritanopia (blue-blind)
#6D001B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #631128;
/* rgb */ color: rgb(99, 17, 40);
/* oklch */ color: oklch(33.2% 0.115 10.2);
Tailwind
colors: {
  custom: {
    50: '#955861',
    500: '#631128',
    950: '#000000',
  },
}
SCSS
$custom: #631128;
$custom-light: #955861;
$custom-dark: #000000;
JSON
{
  "hex": "#631128",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 343.171,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33244,
    "c": 0.11458,
    "h": 10.2
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#631128
secondary
#349B7E
accent
#EDBB3A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #631128

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

Preview Lab → · Contrast checker → · Palette generator →

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