#621227#621227

#621227 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.112 H 11.0°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#621227
RGBrgb(98, 18, 39)
HSLhsl(344, 69%, 23%)
HSVhsv(344, 82%, 38%)
CMYKcmyk(0%, 81.6%, 60.2%, 61.6%)
CIE-LABlab(20.74, 36.44, 8.57)
CIE-LCHlch(20.74, 37.43, 13.23°)
OKLaboklab(33.11% 0.1103 0.0215)
OKLCHoklch(33.11% 0.112 11)
XYZxyz(5.6201, 3.1766, 2.2363)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621227 #12624D
analogous
#62124F #621227 #622512
triadic
#621227 #276212 #122762
tetradic
#621227 #4F6212 #12624D #251262
square
#621227 #4F6212 #12624D #251262
split-complementary
#621227 #126225 #124F62
monochromatic
#1A050A #2E0912 #621227 #961B3C #C92550

Accessibility & contrast

On white

12.84
#621227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621227
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621227#FFFFFF#000000##FFFFFF
##6212271.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #621227;
/* rgb */ color: rgb(98, 18, 39);
/* oklch */ color: oklch(33.1% 0.112 11.0);
Tailwind
colors: {
  custom: {
    50: '#945860',
    500: '#621227',
    950: '#000000',
  },
}
SCSS
$custom: #621227;
$custom-light: #945860;
$custom-dark: #000000;
JSON
{
  "hex": "#621227",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 344.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33109,
    "c": 0.11241,
    "h": 11
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #621227

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

Preview Lab → · Contrast checker → · Palette generator →

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