#631126#631126

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

Color values

HEX#631126
RGBrgb(99, 17, 38)
HSLhsl(345, 71%, 23%)
HSVhsv(345, 83%, 39%)
CMYKcmyk(0%, 82.8%, 61.6%, 61.2%)
CIE-LABlab(20.81, 37.03, 9.40)
CIE-LCHlch(20.81, 38.20, 14.25°)
OKLaboklab(33.19% 0.1119 0.0234)
OKLCHoklch(33.19% 0.114 11.8)
XYZxyz(5.6965, 3.1943, 2.1500)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631126 #11634E
analogous
#63114F #631126 #632511
triadic
#631126 #266311 #112663
tetradic
#631126 #4F6311 #11634E #251163
square
#631126 #4F6311 #11634E #251163
split-complementary
#631126 #116325 #114F63
monochromatic
#1A040A #2F0812 #631126 #971A3A #CB234E

Accessibility & contrast

On white

12.82
#631126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631126
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631126#FFFFFF#000000##FFFFFF
##6311261.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282726
Deuteranopia (green-blind)
#3D3824
Tritanopia (blue-blind)
#6D001A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #631126;
/* rgb */ color: rgb(99, 17, 38);
/* oklch */ color: oklch(33.2% 0.114 11.8);
Tailwind
colors: {
  custom: {
    50: '#955860',
    500: '#631126',
    950: '#000000',
  },
}
SCSS
$custom: #631126;
$custom-light: #955860;
$custom-dark: #000000;
JSON
{
  "hex": "#631126",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 344.634,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3319,
    "c": 0.11432,
    "h": 11.8
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#631126
secondary
#349B81
accent
#EDC03A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #631126

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

Preview Lab → · Contrast checker → · Palette generator →

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