#A6254F#A6254F

#A6254F is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.166 H 6.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A6254F
RGBrgb(166, 37, 79)
HSLhsl(340, 64%, 40%)
HSVhsv(340, 78%, 65%)
CMYKcmyk(0%, 77.7%, 52.4%, 34.9%)
CIE-LABlab(37.84, 54.01, 7.72)
CIE-LCHlch(37.84, 54.56, 8.14°)
OKLaboklab(48.56% 0.1648 0.02)
OKLCHoklch(48.56% 0.166 6.9)
XYZxyz(17.8004, 9.9971, 8.3879)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6254F #25A67C
analogous
#A62590 #A6254F #A63B25
triadic
#A6254F #4FA625 #254FA6
tetradic
#A6254F #90A625 #25A67C #3B25A6
square
#A6254F #90A625 #25A67C #3B25A6
split-complementary
#A6254F #25A63B #2590A6
monochromatic
#420F1F #741A37 #A6254F #D23669 #DD688E

Accessibility & contrast

On white

7.00
#A6254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A6254F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6254F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6254F#FFFFFF#000000##FFFFFF
##A6254F1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464950
Deuteranopia (green-blind)
#68624C
Tritanopia (blue-blind)
#B50037
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a6254f;
/* rgb */ color: rgb(166, 37, 79);
/* oklch */ color: oklch(48.6% 0.166 6.9);
Tailwind
colors: {
  custom: {
    50: '#c66c80',
    500: '#a6254f',
    950: '#000000',
  },
}
SCSS
$custom: #a6254f;
$custom-light: #c66c80;
$custom-dark: #000000;
JSON
{
  "hex": "#a6254f",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 340.465,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48559,
    "c": 0.16596,
    "h": 6.9
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

primary
#A6254F
secondary
#64C3A4
accent
#E7B141
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #A6254F

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

Preview Lab → · Contrast checker → · Palette generator →

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