#671238#671238

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

Color values

HEX#671238
RGBrgb(103, 18, 56)
HSLhsl(333, 70%, 24%)
HSVhsv(333, 83%, 40%)
CMYKcmyk(0%, 82.5%, 45.6%, 59.6%)
CIE-LABlab(22.31, 39.59, -0.94)
CIE-LCHlch(22.31, 39.60, 358.64°)
OKLaboklab(34.63% 0.1217 -0.002)
OKLCHoklch(34.63% 0.122 359.1)
XYZxyz(6.5241, 3.6026, 4.0924)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671238 #126741
analogous
#671262 #671238 #671612
triadic
#671238 #386712 #123867
tetradic
#671238 #626712 #126741 #161267
square
#671238 #626712 #126741 #161267
split-complementary
#671238 #126716 #126267
monochromatic
#1A050E #33091C #671238 #9B1B54 #CF2471

Accessibility & contrast

On white

12.21
#671238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#671238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671238
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671238#FFFFFF#000000##FFFFFF
##6712381.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B39
Deuteranopia (green-blind)
#3D3B36
Tritanopia (blue-blind)
#700323
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #671238;
/* rgb */ color: rgb(103, 18, 56);
/* oklch */ color: oklch(34.6% 0.122 359.1);
Tailwind
colors: {
  custom: {
    50: '#975a6e',
    500: '#671238',
    950: '#000000',
  },
}
SCSS
$custom: #671238;
$custom-light: #975a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#671238",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 333.176,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34626,
    "c": 0.12171,
    "h": 359.1
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#671238
secondary
#369F70
accent
#ED9D3B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0407
muted
#7E797A

Preview Lab

Preview with #671238

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

Preview Lab → · Contrast checker → · Palette generator →

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