#631248#631248

#631248 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.6% C 0.127 H 345.0°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#631248
RGBrgb(99, 18, 72)
HSLhsl(320, 69%, 23%)
HSVhsv(320, 82%, 39%)
CMYKcmyk(0%, 81.8%, 27.3%, 61.2%)
CIE-LABlab(22.14, 40.41, -12.30)
CIE-LCHlch(22.14, 42.24, 343.08°)
OKLaboklab(34.56% 0.1225 -0.0327)
OKLCHoklch(34.56% 0.127 345)
XYZxyz(6.5319, 3.5539, 6.4716)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631248 #12632D
analogous
#551263 #631248 #63121F
triadic
#631248 #486312 #124863
tetradic
#631248 #635512 #12632D #121F63
square
#631248 #635512 #12632D #121F63
split-complementary
#631248 #1F6312 #126355
monochromatic
#1A0513 #2F0922 #631248 #971B6E #CB2593

Accessibility & contrast

On white

12.28
#631248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#631248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631248
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631248#FFFFFF#000000##FFFFFF
##6312481.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C49
Deuteranopia (green-blind)
#363A46
Tritanopia (blue-blind)
#6A112B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #631248;
/* rgb */ color: rgb(99, 18, 72);
/* oklch */ color: oklch(34.6% 0.127 345.0);
Tailwind
colors: {
  custom: {
    50: '#935a7b',
    500: '#631248',
    950: '#000000',
  },
}
SCSS
$custom: #631248;
$custom-light: #935a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#631248",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 320,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34561,
    "c": 0.12684,
    "h": 345
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#631248
secondary
#369B58
accent
#EC773C
background
#F9F5F7
surface
#F2E9ED
border
#CCC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #631248

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

Preview Lab → · Contrast checker → · Palette generator →

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