#AF2867#AF2867

#AF2867 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.178 H 357.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AF2867
RGBrgb(175, 40, 103)
HSLhsl(332, 63%, 42%)
HSVhsv(332, 77%, 69%)
CMYKcmyk(0%, 77.1%, 41.1%, 31.4%)
CIE-LABlab(40.60, 57.79, -3.30)
CIE-LCHlch(40.60, 57.88, 356.73°)
OKLaboklab(51.13% 0.1776 -0.0079)
OKLCHoklch(51.13% 0.178 357.4)
XYZxyz(20.8877, 11.6135, 13.9710)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2867 #28AF70
analogous
#AF28AB #AF2867 #AF2C28
triadic
#AF2867 #67AF28 #2867AF
tetradic
#AF2867 #ABAF28 #28AF70 #2C28AF
square
#AF2867 #ABAF28 #28AF70 #2C28AF
split-complementary
#AF2867 #28AF2C #28ABAF
monochromatic
#4B112C #7D1D4A #AF2867 #D44185 #DF73A5

Accessibility & contrast

On white

6.32
#AF2867 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF2867 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2867
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2867#FFFFFF#000000##FFFFFF
##AF28671.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455069
Deuteranopia (green-blind)
#6A6964
Tritanopia (blue-blind)
#BE1244
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2867;
/* rgb */ color: rgb(175, 40, 103);
/* oklch */ color: oklch(51.1% 0.178 357.4);
Tailwind
colors: {
  custom: {
    50: '#cc7092',
    500: '#af2867',
    950: '#000000',
  },
}
SCSS
$custom: #af2867;
$custom-light: #cc7092;
$custom-dark: #000000;
JSON
{
  "hex": "#af2867",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 332,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51128,
    "c": 0.17779,
    "h": 357.4
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#AF2867
secondary
#6DC69C
accent
#E69942
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080D
muted
#837B7D

Preview Lab

Preview with #AF2867

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

Preview Lab → · Contrast checker → · Palette generator →

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