#631227#631227

#631227 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.113 H 11.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#631227
RGBrgb(99, 18, 39)
HSLhsl(344, 69%, 23%)
HSVhsv(344, 82%, 39%)
CMYKcmyk(0%, 81.8%, 60.6%, 61.2%)
CIE-LABlab(20.95, 36.76, 8.90)
CIE-LCHlch(20.95, 37.82, 13.61°)
OKLaboklab(33.31% 0.1112 0.0223)
OKLCHoklch(33.31% 0.113 11.3)
XYZxyz(5.7287, 3.2326, 2.2414)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631227 #12634E
analogous
#631250 #631227 #632512
triadic
#631227 #276312 #122763
tetradic
#631227 #506312 #12634E #251263
square
#631227 #506312 #12634E #251263
split-complementary
#631227 #126325 #125063
monochromatic
#1A050A #2F0913 #631227 #971B3B #CB2550

Accessibility & contrast

On white

12.76
#631227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#631227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631227
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631227#FFFFFF#000000##FFFFFF
##6312271.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631227;
/* rgb */ color: rgb(99, 18, 39);
/* oklch */ color: oklch(33.3% 0.113 11.3);
Tailwind
colors: {
  custom: {
    50: '#955960',
    500: '#631227',
    950: '#000000',
  },
}
SCSS
$custom: #631227;
$custom-light: #955960;
$custom-dark: #000000;
JSON
{
  "hex": "#631227",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 344.444,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33306,
    "c": 0.11345,
    "h": 11.3
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#631227
secondary
#369B81
accent
#ECBE3C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #631227

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

Preview Lab → · Contrast checker → · Palette generator →

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